staging: r8188eu: drop redundant if check
authorVihas Makwana <makvihas@gmail.com>
Sun, 8 May 2022 18:24:01 +0000 (23:54 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 May 2022 15:41:06 +0000 (17:41 +0200)
commitc0235e384e8d036bc1c990e7f465c03967a96252
treeb2311184d0b432274e00603ca58733c39a4e569e
parent073d44eaccf07ffbc48e941c62ccd95324df93bf
staging: r8188eu: drop redundant if check

The check for ETH_P_IP is already performed in the outer if block
and inner if check is redundant. So drop the check.

Signed-off-by: Vihas Makwana <makvihas@gmail.com>
Link: https://lore.kernel.org/r/20220508182400.22433-1-makvihas@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_xmit.c