aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_core.h
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2019-02-28 18:59:40 +0100
committerDavid S. Miller <davem@davemloft.net>2019-02-28 12:55:26 -0800
commit464e86dafcca14e5f7a7157fc567c58654ec80b3 (patch)
tree94d3059d98e730563c6b5eaf3e9255334d93ee88 /drivers/s390/net/qeth_core.h
parents390/qeth: call dev_close() during recovery (diff)
downloadlinux-dev-464e86dafcca14e5f7a7157fc567c58654ec80b3.tar.xz
linux-dev-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 <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_core.h')
0 files changed, 0 insertions, 0 deletions