staging: rtl8188eu: delete some dead code
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 7 Jun 2021 18:19:00 +0000 (21:19 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jun 2021 12:29:01 +0000 (14:29 +0200)
commit5bd9e94a11ab76b656c897609b7e0e2bf1e87d09
treef0406b3e1f1b76f5f01e04c6f25e507b57dbb7c6
parenta56d78b5d00db51676cf211e41ec42285fb4a573
staging: rtl8188eu: delete some dead code

Calling rtw_free_xmitframe() with a NULL "pxmitframe" parameter is a
no-op.  It appears that originally this code was part of a loop but it
was already dead code by the time that the driver was merged into the
kernel.

Fixes: 7bc88639ad36 ("staging: r8188eu: Add files for new driver - part 17")
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/YL5jFF9ldj0W9P1f@mwanda
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c