]> git.dujemihanovic.xyz Git - u-boot.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)
commit6dcf5e44774347f0079bb351d44539b5c8a0b0ff
treebdcacb461ad2a9fbdd743a624d11fb7776cfe2d1
parent8ecf1ca093bbe27d11af86212c1b974a5c9918c2
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