From 9eeea5eb6b2da5d0297f1dcd303dbfe6a31a37d2 Mon Sep 17 00:00:00 2001 From: Gulsah Kose Date: Sat, 27 Sep 2014 22:34:33 +0300 Subject: [PATCH] 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 --- drivers/staging/media/omap4iss/iss_resizer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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]; } /* -- 2.20.1