From: Gulsah Kose Date: Sat, 27 Sep 2014 19:30:52 +0000 (+0300) Subject: staging: media: omap4iss: Removed unnecessary else expression. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8d89818461411ae6562aa3e804927b29f3c628b6;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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_ipipeif.c Signed-off-by: Gulsah Kose Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/media/omap4iss/iss_ipipeif.c b/drivers/staging/media/omap4iss/iss_ipipeif.c index 7bc145762499..75f6a15ad202 100644 --- a/drivers/staging/media/omap4iss/iss_ipipeif.c +++ b/drivers/staging/media/omap4iss/iss_ipipeif.c @@ -382,8 +382,7 @@ __ipipeif_get_format(struct iss_ipipeif_device *ipipeif, { if (which == V4L2_SUBDEV_FORMAT_TRY) return v4l2_subdev_get_try_format(fh, pad); - else - return &ipipeif->formats[pad]; + return &ipipeif->formats[pad]; } /*