]> git.baikalelectronics.ru Git - kernel.git/commit
nfc: netlink: use &w->w in nfc_genl_rcv_nl_event
authorGeliang Tang <geliangtang@gmail.com>
Fri, 15 Jan 2021 04:14:53 +0000 (12:14 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 16 Jan 2021 04:08:28 +0000 (20:08 -0800)
commitac1017172b9b3fc412964b89b12d5d0fa31cc756
tree8d9fb691cf81527070b7e8d2a781c135231a4cfa
parent854cac245450b948f0bbdc88fb92c31b42bc85b5
nfc: netlink: use &w->w in nfc_genl_rcv_nl_event

Use the struct member w of the struct urelease_work directly instead of
casting it.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Link: https://lore.kernel.org/r/f0ed86d6d54ac0834bd2e161d172bf7bb5647cf7.1610683862.git.geliangtang@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/nfc/netlink.c