]> git.baikalelectronics.ru Git - kernel.git/commit
hns: do not cast return value of napi_gro_receive to null
authorJason A. Donenfeld <Jason@zx2c4.com>
Wed, 24 Jun 2020 22:06:05 +0000 (16:06 -0600)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jun 2020 23:16:21 +0000 (16:16 -0700)
commitfc2a4f817dfb1df42b6b52747a56557589783d57
tree636a3efdd0574966213cb9c8d33122b6139bc27d
parente021690a00c1ffe439a9e840ca748e0059aabc2f
hns: do not cast return value of napi_gro_receive to null

Basically no drivers care about the return value here, and there's no
__must_check that would make casting to void sensible, so remove it.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_enet.c