From 8d89818461411ae6562aa3e804927b29f3c628b6 Mon Sep 17 00:00:00 2001 From: Gulsah Kose Date: Sat, 27 Sep 2014 22:30:52 +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_ipipeif.c Signed-off-by: Gulsah Kose Signed-off-by: Greg Kroah-Hartman --- drivers/staging/media/omap4iss/iss_ipipeif.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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]; } /* -- 2.20.1