From: Yeliz Taneroglu Date: Thu, 2 Oct 2014 19:09:47 +0000 (+0300) Subject: staging: media: omap4iss: Fixed else after return or break warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ae357388c2b6e9fcdec04a9265968c666a57876b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/media/omap4iss/iss_ipipe.c b/drivers/staging/media/omap4iss/iss_ipipe.c index 6eaafc5e2eea..54042008154c 100644 --- a/drivers/staging/media/omap4iss/iss_ipipe.c +++ b/drivers/staging/media/omap4iss/iss_ipipe.c @@ -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]; } /*