Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5c9b063a authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman
Browse files

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: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6d854127
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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;