projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffad440
)
Staging: vt6656: Checkpatch fix: else after break or return
author
Emrys Bayliss
<emrys@paradise.net.nz>
Mon, 12 Jan 2015 16:51:36 +0000
(
03:51
+1100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 13 Jan 2015 03:48:25 +0000
(19:48 -0800)
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 <emrys@paradise.net.nz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/rxtx.c
patch
|
blob
|
history
diff --git
a/drivers/staging/vt6656/rxtx.c
b/drivers/staging/vt6656/rxtx.c
index
95d82eb
..
bb6a4d4
100644
(file)
--- 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,