staging: r8822be: remove some dead code
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 25 Aug 2017 08:42:06 +0000 (11:42 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 08:27:29 +0000 (10:27 +0200)
commit8eff21bcc6baa1303241ad4c0c8087de0f5022ae
tree2b9c5b011db0dff4b4e3a4ef27936c81cd461026
parentee26e23616f0ea1c82516cfc5ae05e671597a546
staging: r8822be: remove some dead code

"hdr" can't be NULL.  We take skb->data which is non-NULL and add an
offset to get "hdr".

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtlwifi/rtl8822be/trx.c