]> git.baikalelectronics.ru Git - kernel.git/commit
nfc: st21nfca: Remove unnecessary cast
authorAlex Dewar <alex.dewar90@gmail.com>
Thu, 20 Aug 2020 18:38:36 +0000 (19:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Aug 2020 23:18:13 +0000 (16:18 -0700)
commitc3ece22448fa9371d2406d286dd952ace81e9a57
tree0c53470446b753080bb80388ed7653415c2f8ae5
parent249a20ec88a511fb130988126275b4ddb62b11ee
nfc: st21nfca: Remove unnecessary cast

In st21nfca_connectivity_event_received(), the return value of
devm_kzalloc() is unnecessarily cast from void*. Remove cast.

Issue identified with Coccinelle.

Signed-off-by: Alex Dewar <alex.dewar90@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/nfc/st21nfca/se.c