mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-13 20:16:26 +00:00
s390/qeth: don't raise NETDEV_REBOOT event from L3 offline path
This is a leftover from back when a recovery action didn't go through dev_close(), and was meant to shoot down all remaining af_iucv sockets on the interface. Now that the offline path always calls dev_close(), the NETDEV_GOING_DOWN event from __dev_close_many() is sufficient and this hack can be removed. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
490df97142
commit
b6beb62a52
1 changed files with 0 additions and 6 deletions
|
@ -2288,12 +2288,6 @@ static int __qeth_l3_set_offline(struct ccwgroup_device *cgdev,
|
||||||
rtnl_unlock();
|
rtnl_unlock();
|
||||||
|
|
||||||
qeth_l3_stop_card(card);
|
qeth_l3_stop_card(card);
|
||||||
if (card->options.cq == QETH_CQ_ENABLED) {
|
|
||||||
rtnl_lock();
|
|
||||||
call_netdevice_notifiers(NETDEV_REBOOT, card->dev);
|
|
||||||
rtnl_unlock();
|
|
||||||
}
|
|
||||||
|
|
||||||
rc = qeth_stop_channel(&card->data);
|
rc = qeth_stop_channel(&card->data);
|
||||||
rc2 = qeth_stop_channel(&card->write);
|
rc2 = qeth_stop_channel(&card->write);
|
||||||
rc3 = qeth_stop_channel(&card->read);
|
rc3 = qeth_stop_channel(&card->read);
|
||||||
|
|
Loading…
Reference in a new issue