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)
commit32d91b4af35312cf559a45a07aad1f3bde996dfb
tree8d9fb691cf81527070b7e8d2a781c135231a4cfa
parent58f9f9b5555543d47ad9a721489b557a790dc0c7
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