]> git.baikalelectronics.ru Git - kernel.git/commit
nfc: st-nci: Remove unnecessary cast
authorAlex Dewar <alex.dewar90@gmail.com>
Thu, 20 Aug 2020 18:32:58 +0000 (19:32 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Aug 2020 23:17:45 +0000 (16:17 -0700)
commitc0287787ef5d28b34482150b1b7391690fb51870
tree9edb09dbaa280cfdd4876d1ee2ed582723c3d877
parent1e7f6c749bdeb1847b82566dfa9e76903bfaa29e
nfc: st-nci: Remove unnecessary cast

In st_nci_hci_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/st-nci/se.c