From: Gulsah Kose Date: Sat, 27 Sep 2014 19:34:33 +0000 (+0300) Subject: staging: media: omap4iss: Removed unnecessary else expression. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9eeea5eb6b2da5d0297f1dcd303dbfe6a31a37d2;p=linux-beck.git staging: media: omap4iss: Removed unnecessary else expression. This patch fixes "else is not generally useful after a break or return" checkpatch.pl warning iss_resizer.c Signed-off-by: Gulsah Kose Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/media/omap4iss/iss_resizer.c b/drivers/staging/media/omap4iss/iss_resizer.c index ae831b8985c9..a21e356cce3a 100644 --- a/drivers/staging/media/omap4iss/iss_resizer.c +++ b/drivers/staging/media/omap4iss/iss_resizer.c @@ -441,8 +441,7 @@ __resizer_get_format(struct iss_resizer_device *resizer, { if (which == V4L2_SUBDEV_FORMAT_TRY) return v4l2_subdev_get_try_format(fh, pad); - else - return &resizer->formats[pad]; + return &resizer->formats[pad]; } /*