Messages in this thread | | | From | Sjur BRENDELAND <> | Date | Tue, 14 Jun 2011 19:53:56 +0200 | Subject | RE: [PATCH net-next 2/2] drivers/net: Remove casts of void * |
| |
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@stericsson.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |