Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae357388 authored by Yeliz Taneroglu's avatar Yeliz Taneroglu Committed by Greg Kroah-Hartman
Browse files

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: default avatarYeliz Taneroglu <yeliztaneroglu@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bc394a39
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -181,7 +181,7 @@ __ipipe_get_format(struct iss_ipipe_device *ipipe, struct v4l2_subdev_fh *fh,
{
{
	if (which == V4L2_SUBDEV_FORMAT_TRY)
	if (which == V4L2_SUBDEV_FORMAT_TRY)
		return v4l2_subdev_get_try_format(fh, pad);
		return v4l2_subdev_get_try_format(fh, pad);
	else

	return &ipipe->formats[pad];
	return &ipipe->formats[pad];
}
}