public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 02/25] n2-drv: remove casts from void*
@ 2010-06-29 10:15 Kulikov Vasiliy
  2010-06-29 10:39 ` Daniel Mack
  2010-07-05 13:25 ` Herbert Xu
  0 siblings, 2 replies; 3+ messages in thread
From: Kulikov Vasiliy @ 2010-06-29 10:15 UTC (permalink / raw)
  To: Kernel Janitors
  Cc: Matt Mackall, Herbert Xu, Grant Likely, Sean MacLennan,
	Jiri Kosina, Daniel Mack, linux-kernel

Remove unnesessary casts from void*.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
---
 drivers/char/hw_random/n2-drv.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/char/hw_random/n2-drv.c b/drivers/char/hw_random/n2-drv.c
index 0f9cbf1..101d5f2 100644
--- a/drivers/char/hw_random/n2-drv.c
+++ b/drivers/char/hw_random/n2-drv.c
@@ -387,7 +387,7 @@ static int n2rng_init_control(struct n2rng *np)
 
 static int n2rng_data_read(struct hwrng *rng, u32 *data)
 {
-	struct n2rng *np = (struct n2rng *) rng->priv;
+	struct n2rng *np = rng->priv;
 	unsigned long ra = __pa(&np->test_data);
 	int len;
 
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-07-05 13:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-29 10:15 [PATCH 02/25] n2-drv: remove casts from void* Kulikov Vasiliy
2010-06-29 10:39 ` Daniel Mack
2010-07-05 13:25 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox