summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorYeliz Taneroglu <yeliztaneroglu@gmail.com>2014-10-02 22:02:20 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-02 13:51:03 -0700
commit4571c4f6f61730c4f3624b6d3cb9ab042297949b (patch)
treece9cfade54399fd31864bfdde7c6abb1d9dd7dd0 /drivers/staging
parentae357388c2b6e9fcdec04a9265968c666a57876b (diff)
downloadlinux-4571c4f6f61730c4f3624b6d3cb9ab042297949b.tar.gz
linux-4571c4f6f61730c4f3624b6d3cb9ab042297949b.tar.bz2
linux-4571c4f6f61730c4f3624b6d3cb9ab042297949b.zip
staging: media: Fixed else after return or break warning
The following patch fixes the checkpatch.pl warning: drivers/staging/media/omap4iss/iss_csi2.c:811 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_csi2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/media/omap4iss/iss_csi2.c b/drivers/staging/media/omap4iss/iss_csi2.c
index 68ff42c20f02..92c2d5b743c7 100644
--- a/drivers/staging/media/omap4iss/iss_csi2.c
+++ b/drivers/staging/media/omap4iss/iss_csi2.c
@@ -808,8 +808,8 @@ __csi2_get_format(struct iss_csi2_device *csi2, struct v4l2_subdev_fh *fh,
{
if (which == V4L2_SUBDEV_FORMAT_TRY)
return v4l2_subdev_get_try_format(fh, pad);
- else
- return &csi2->formats[pad];
+
+ return &csi2->formats[pad];
}
static void