acrn-kernel/net/ethtool
Dan Carpenter 178f67b128 ethtool: linkinfo: remove an unnecessary NULL check
This code generates a Smatch warning:

    net/ethtool/linkinfo.c:143 ethnl_set_linkinfo()
    warn: variable dereferenced before check 'info' (see line 119)

Fortunately, the "info" pointer is never NULL so the check can be
removed.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-06-05 13:10:02 -07:00
..
Makefile
bitset.c
bitset.h
cabletest.c net: ethtool: cabletest: Make ethnl_act_cable_test_tdr_cfg static 2020-05-29 17:28:30 -07:00
channels.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2020-05-22 18:30:34 -07:00
coalesce.c
common.c
common.h
debug.c
eee.c
features.c
ioctl.c ethtool: propagate get_coalesce return value 2020-05-23 16:57:00 -07:00
linkinfo.c ethtool: linkinfo: remove an unnecessary NULL check 2020-06-05 13:10:02 -07:00
linkmodes.c
linkstate.c ethtool: provide UAPI for PHY Signal Quality Index (SQI) 2020-05-21 17:18:00 -07:00
netlink.c net: ethtool: Add generic parts of cable test TDR 2020-05-26 23:21:48 -07:00
netlink.h net: ethtool: Add generic parts of cable test TDR 2020-05-26 23:21:48 -07:00
pause.c
privflags.c
rings.c
strset.c ethtool: count header size in reply size estimate 2020-05-21 16:59:19 -07:00
tsinfo.c
wol.c