diff options
author | Gulsah Kose <gulsah.1004@gmail.com> | 2014-09-27 23:30:52 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-29 07:03:24 +0400 |
commit | 8d89818461411ae6562aa3e804927b29f3c628b6 (patch) | |
tree | 9151187cfcdc757c2e3c57d28f896262dd5ffdd7 /drivers/staging/media/omap4iss/iss_ipipeif.c | |
parent | f399140abb3c7ff5457ad2b2e510032948e430e1 (diff) | |
download | linux-8d89818461411ae6562aa3e804927b29f3c628b6.tar.xz |
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 <gulsah.1004@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/media/omap4iss/iss_ipipeif.c')
-rw-r--r-- | drivers/staging/media/omap4iss/iss_ipipeif.c | 3 |
1 files changed, 1 insertions, 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]; } /* |