]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: only init the isolation mode when necessary
authorJulian Wiedmann <jwi@linux.ibm.com>
Tue, 14 Jul 2020 14:22:58 +0000 (16:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Jul 2020 21:53:45 +0000 (14:53 -0700)
commit6420ea8407127d92dc409e26d0ca7b8e5d0b4825
treebeba52c93a8cbfb5821fd3d16c113061a9ccadce
parenta35d2db2d2150c50311c20270a6d20fe4a88a674
s390/qeth: only init the isolation mode when necessary

A newly initialized device defaults to ISOLATION_MODE_NONE, don't bother
with programming this a second time.

Then remove the OSD/OSX check, it's already done in the sysfs path
whenever the user actually changes the configuration.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_main.c