From: Emrys Bayliss Date: Mon, 12 Jan 2015 16:51:36 +0000 (+1100) Subject: Staging: vt6656: Checkpatch fix: else after break or return X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=09a7a6b5d8b026dd25b1e047e4920e4baa150105;p=openwrt%2Fstaging%2Fblogic.git Staging: vt6656: Checkpatch fix: else after break or return This patch fixes the following checkpatch.pl error: rxtx.c:588: WARNING: else is not generally useful after a break or return Signed-off-by: Emrys Bayliss Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c index 95d82eba384e..bb6a4d43af58 100644 --- a/drivers/staging/vt6656/rxtx.c +++ b/drivers/staging/vt6656/rxtx.c @@ -575,8 +575,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,