can: af_can: can_pernet_init(): Use preferred style kzalloc(sizeof()) usage
authorMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 13 Aug 2019 07:41:40 +0000 (09:41 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 13 Aug 2019 15:32:20 +0000 (17:32 +0200)
commitfbd4665a67f74b6af44f6a9cf335ddc3fc124f75
tree147356f7fa23013ffdeea0d821fe449dd5268ec0
parent1cf571eb81d3f435e6a4ea359a08b35cb7c5f81a
can: af_can: can_pernet_init(): Use preferred style kzalloc(sizeof()) usage

This patch switches can_pernet_init() to the preferred style of using
the sizeof() operator in kzalloc().

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
net/can/af_can.c