[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <m3o92egkd4.fsf@gmail.com>
Date: Mon, 01 Jul 2019 10:44:07 +0100
From: Rui Miguel Silva <rmfrfs@...il.com>
To: Chinmaya Krishnan Mahesh <chinmaya.mahesh@...root.org>
Cc: Steve Longerbeam <slongerbeam@...il.com>,
Philipp Zabel <p.zabel@...gutronix.de>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
NXP Linux Team <linux-imx@....com>,
linux-media@...r.kernel.org, devel@...verdev.osuosl.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] media: imx7-media-csi: Remove unneeded break after return
Hi Chinmaya,
Thanks for your patch.
On Sun 30 Jun 2019 at 04:49, Chinmaya Krishnan Mahesh wrote:
> This patch fixes the checkpatch.pl warning:
>
> WARNING: break is not useful after a goto or return
but this is already fixed in the media subsystem tree, by a patch
from Fabio:
964fcacddf media: imx7-media-csi: Remove unneeded break
It is better to use that tree as reference for media fixes,
sometimes some are already fixed there.
Nevertheless many thanks for the patch.
---
Cheers,
Rui
>
> Signed-off-by: Chinmaya Krishnan Mahesh <chinmaya.mahesh@...root.org>
> ---
> drivers/staging/media/imx/imx7-media-csi.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/staging/media/imx/imx7-media-csi.c b/drivers/staging/media/imx/imx7-media-csi.c
> index a708a0340eb1..c15acca1dc0d 100644
> --- a/drivers/staging/media/imx/imx7-media-csi.c
> +++ b/drivers/staging/media/imx/imx7-media-csi.c
> @@ -1021,7 +1021,6 @@ static int imx7_csi_try_fmt(struct imx7_csi *csi,
> break;
> default:
> return -EINVAL;
> - break;
> }
> return 0;
> }
Powered by blists - more mailing lists