diff options
| author | Julian Wiedmann <[email protected]> | 2019-02-28 17:59:40 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-02-28 20:55:26 +0000 |
| commit | 464e86dafcca14e5f7a7157fc567c58654ec80b3 (patch) | |
| tree | 94d3059d98e730563c6b5eaf3e9255334d93ee88 /net/switchdev/switchdev.c | |
| parent | s390/qeth: call dev_close() during recovery (diff) | |
| download | kernel-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
