Skip to content

Commit

Permalink
staging: media: omap4iss: Fixed else after return or break warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yeliz Taneroglu authored and Greg Kroah-Hartman committed Oct 2, 2014
1 parent bc394a3 commit ae35738
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/media/omap4iss/iss_ipipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}

/*
Expand Down

0 comments on commit ae35738

Please sign in to comment.