aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorJulian Wiedmann <[email protected]>2019-02-28 17:59:40 +0000
committerDavid S. Miller <[email protected]>2019-02-28 20:55:26 +0000
commit464e86dafcca14e5f7a7157fc567c58654ec80b3 (patch)
tree94d3059d98e730563c6b5eaf3e9255334d93ee88 /net/switchdev/switchdev.c
parents390/qeth: call dev_close() during recovery (diff)
downloadkernel-464e86dafcca14e5f7a7157fc567c58654ec80b3.tar.gz
kernel-464e86dafcca14e5f7a7157fc567c58654ec80b3.zip
s390/qeth: remove a redundant check for card->dev
smatch complains that __qeth_l3_set_offline() first accesses card->dev, and then later checks whether the pointer is valid. Since commit d3d1b205e89f ("s390/qeth: allocate netdevice early"), the pointer is _always_ valid - that patch merely missed to remove this one check. Signed-off-by: Julian Wiedmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions