diff options
author | Yeliz Taneroglu <yeliztaneroglu@gmail.com> | 2014-10-02 22:09:47 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-02 13:51:03 -0700 |
commit | ae357388c2b6e9fcdec04a9265968c666a57876b (patch) | |
tree | 1ee8637061fb8030a61936f72732421c8eb2a89f /drivers/staging | |
parent | bc394a39cbbbce3e9672303d5c5fc3d7c7b93f19 (diff) | |
download | linux-ae357388c2b6e9fcdec04a9265968c666a57876b.tar.gz linux-ae357388c2b6e9fcdec04a9265968c666a57876b.tar.bz2 linux-ae357388c2b6e9fcdec04a9265968c666a57876b.zip |
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 <yeliztaneroglu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/media/omap4iss/iss_ipipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
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]; } /* |