]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: don't check drvdata in sysfs code
authorJulian Wiedmann <jwi@linux.ibm.com>
Thu, 14 Nov 2019 10:19:24 +0000 (11:19 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Nov 2019 02:16:51 +0000 (18:16 -0800)
commite6d6327ba47d843347868699709c510708c8e87e
treeb9f7d74b84873db60d0aace5baf3e7ba128f2d27
parentd322e2d9381d0bc2eae1430f7f3d898e819b74f7
s390/qeth: don't check drvdata in sysfs code

Given the way how the sysfs attributes are registered / unregistered,
the show/store helpers will never be called with a NULL drvdata.

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