Thread (24 messages) flat view 24 messages, 13 authors, 2011-06-16

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

From: Sjur BRENDELAND <hidden>
Date: 2011-06-14 17:55:36
Also in: lkml

Hi,

[Joe Perches]:
quoted hunk ↗ jump to hunk
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 <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help