Commit 9eeea5eb authored by Gulsah Kose's avatar Gulsah Kose Committed by Greg Kroah-Hartman
Browse files

staging: media: omap4iss: Removed unnecessary else expression.



This patch fixes "else is not generally useful after a break or return"
checkpatch.pl warning iss_resizer.c

Signed-off-by: default avatarGulsah Kose <gulsah.1004@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8d898184
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -441,7 +441,6 @@ __resizer_get_format(struct iss_resizer_device *resizer,
{
{
	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 &resizer->formats[pad];
	return &resizer->formats[pad];
}
}