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)
commit08e95cae648ef8db998d48c38c4774831da5f869
treebeba52c93a8cbfb5821fd3d16c113061a9ccadce
parentdbdd04d311afb9d64b0722e8a8a00b359625e8de
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