[PATCH] Staging: vt6656: Code cleanup: remove unreachable return

From: Emrys Bayliss
Date: Tue Jan 13 2015 - 12:09:44 EST


This patch removes an unnecessary return statement that cannot be reached.

Signed-off-by: Emrys Bayliss <emrys@xxxxxxxxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/