intel/i40e: delete if NULL check before dev_kfree_skb
authorBernard Zhao <zhaojunkui2008@126.com>
Wed, 11 May 2022 06:54:51 +0000 (23:54 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 21 Jun 2022 20:50:38 +0000 (13:50 -0700)
commit56878d49cc26c6587b35515fe621087e26e75e64
tree1811cd2df36a6662a765acc6b025cc2a86f6f37c
parent3e0fcb782a9ff02afcf426b5c84fbeccbdb50fae
intel/i40e: delete if NULL check before dev_kfree_skb

dev_kfree_skb check if the input parameter NULL and do the right
thing, there is no need to check again.
This change is to cleanup the code a bit.

Signed-off-by: Bernard Zhao <zhaojunkui2008@126.com>
Tested-by: Gurucharan <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/i40e/i40e_txrx.c