1
0
Fork 0

staging: media: omap4iss: Fixed else after return or break warning

The following patch fixes the checkpatch.pl warning:

drivers/staging/media/omap4iss/iss_ipipe.c:184 warning: else is not generally useful after a break or return

Signed-off-by: Yeliz Taneroglu <yeliztaneroglu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
hifive-unleashed-5.1
Yeliz Taneroglu 2014-10-02 22:09:47 +03:00 committed by Greg Kroah-Hartman
parent bc394a39cb
commit ae357388c2
1 changed files with 2 additions and 2 deletions

View File

@ -181,8 +181,8 @@ __ipipe_get_format(struct iss_ipipe_device *ipipe, struct v4l2_subdev_fh *fh,
{
if (which == V4L2_SUBDEV_FORMAT_TRY)
return v4l2_subdev_get_try_format(fh, pad);
else
return &ipipe->formats[pad];
return &ipipe->formats[pad];
}
/*