[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150113171354.GB12822@kroah.com>
Date: Tue, 13 Jan 2015 09:13:54 -0800
From: Greg KH <gregkh@...uxfoundation.org>
To: Emrys Bayliss <emrys@...adise.net.nz>
Cc: forest@...ttletooquiet.net, tvboxspy@...il.com,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Staging: vt6656: Code cleanup: remove unreachable return
On Wed, Jan 14, 2015 at 04:07:40AM +1100, Emrys Bayliss wrote:
> This patch removes an unnecessary return statement that cannot be reached.
>
> Signed-off-by: Emrys Bayliss <emrys@...adise.net.nz>
> ---
> drivers/staging/vt6656/rxtx.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c
> index ea5140a..0cce140 100644
> --- a/drivers/staging/vt6656/rxtx.c
> +++ b/drivers/staging/vt6656/rxtx.c
> @@ -574,8 +574,6 @@ static u16 vnt_fill_cts_head(struct vnt_usb_send_context *tx_context,
>
> return vnt_rxtx_datahead_g(tx_context, &buf->data_head);
> }
> -
> - return 0;
> }
>
> static u16 vnt_rxtx_rts(struct vnt_usb_send_context *tx_context,
> --
> 2.2.1
You already sent this patch before and it was accepted, right? If so,
please always tell me, I have no short term memory for patches as I get
1000 emails a day to deal with. Always properly version your patches if
you need/want it to superseed a previous patch.
dropped from my queue due to confusion,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists