RE: [PATCH net-next 2/2] drivers/net: Remove casts of void *

From: Sjur BRENDELAND
Date: Tue Jun 14 2011 - 13:55:41 EST


Hi,

[Joe Perches]:
> Unnecessary casts of void * clutter the code.
>--- a/drivers/net/caif/caif_shmcore.c
>+++ b/drivers/net/caif/caif_shmcore.c
>@@ -134,7 +134,7 @@ int caif_shmdrv_rx_cb(u32 mbx_msg, void *priv)
> u32 avail_emptybuff = 0;
> unsigned long flags = 0;
>
>- pshm_drv = (struct shmdrv_layer *)priv;
>+ pshm_drv = priv;
>


CAIF parts looks good to me,

Acked-by: Sjur Brændeland <sjur.brandeland@xxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/