]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit0b81c6c620215743204cc03df40b25662a97a263
treeb9f7d74b84873db60d0aace5baf3e7ba128f2d27
parentb80c08ac9414e33ac3b2591146f4f37fdefd3ecb
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