mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
staging: vt6656: vnt_fill_cts_head remove unneeded NULL check.
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>
This commit is contained in:
parent
6d85412726
commit
5c9b063a0a
1 changed files with 0 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue