]> git.baikalelectronics.ru Git - uboot.git/commit
drivers: net: fsl-mc: remove explicit cast
authorIoana Ciornei <ioana.ciornei@nxp.com>
Thu, 5 Jan 2023 15:03:19 +0000 (17:03 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 2 Feb 2023 19:44:53 +0000 (14:44 -0500)
commitace768dbc995bae91b85357c67483806bb1072d1
treebdcacb461ad2a9fbdd743a624d11fb7776cfe2d1
parente2610a38eae788c99b92ec856af87dfb73356a1b
drivers: net: fsl-mc: remove explicit cast

Remove all the explicit casts from the void* returned by calloc.
With this we also improve a bit the length of those lines and there is
no need to split the assignment.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/fsl-mc/mc.c