staging: atomisp: remove else statement after return
Subsystems (5)
Media (V4L/DVB) Staging Kernel janitors Intel MID (Mobile Internet Device) platform +1 more subsystems
PATCH v2 1/4 staging: atomisp: remove else statement after return
It doesn't need to have else statement after return.
Signed-off-by Daeseok Youn <[email protected]>
---
V2: one(2/4) of this series was updated so I tried to send them again.
drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c +3 -3
@@ -2958,11 +2958,11 @@ int atomisp_get_metadata(struct atomisp_sub_device *asd, int flag,dev_err (isp->dev,"copy to user failed: copied %d bytes\n" , ret);return -EFAULT ; - }else { -list_del_init (&md_buf->list); -list_add_tail (&md_buf->list, &asd->metadata[md_type]); } +list_del_init (&md_buf->list); +list_add_tail (&md_buf->list, &asd->metadata[md_type]); +dev_dbg (isp->dev,"%s: HAL de-queued metadata type %d with exp_id %d\n" , __func__, md_type, md->exp_id);return 0 ;
Signature · 1 line
1.9.1