summaryrefslogtreecommitdiff
path: root/net/8021q/vlan_gvrp.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-06-05 14:04:13 +0300
committerDavid S. Miller <davem@davemloft.net>2020-06-05 23:10:02 +0300
commit178f67b1288b6952117fdc4e5ffbd4c4bd4e4a7f (patch)
tree1ec860fb6ae58be98d009b9a5975396b120b6b24 /net/8021q/vlan_gvrp.c
parent7d877c35ca84cfa634fd63c2b64bf7b6ae9c71cb (diff)
downloadlinux-178f67b1288b6952117fdc4e5ffbd4c4bd4e4a7f.tar.xz
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>
Diffstat (limited to 'net/8021q/vlan_gvrp.c')
0 files changed, 0 insertions, 0 deletions