projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d85412
)
staging: vt6656: vnt_fill_cts_head remove unneeded NULL check.
author
Malcolm Priestley
<tvboxspy@gmail.com>
Sun, 1 Feb 2015 11:59:42 +0000
(11:59 +0000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 7 Feb 2015 09:16:59 +0000
(17:16 +0800)
union vnt_tx_data_head is nolonger detached from main
vnt_tx_buffer structure so this check is unnecessary.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
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 b74f672ff6965bcc21507d8147be1defe8d33b57..3b90497bc6e8340ed7e6eb58f659253aa6e54b4f 100644
(file)
--- a/
drivers/staging/vt6656/rxtx.c
+++ b/
drivers/staging/vt6656/rxtx.c
@@
-525,9
+525,6
@@
static u16 vnt_fill_cts_head(struct vnt_usb_send_context *tx_context,
u32 cts_frame_len = 14;
u16 current_rate = tx_context->tx_rate;
- if (!head)
- return 0;
-
if (tx_context->fb_option) {
/* Auto Fall back */
struct vnt_cts_fb *buf = &head->cts_g_fb;