Skip to content

Commit

Permalink
hwrng: n2-drv - remove casts from void*
Browse files Browse the repository at this point in the history
Remove unnesessary casts from void*.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
Kulikov Vasiliy authored and Herbert Xu committed Jul 5, 2010
1 parent 5e833bc commit 8b9cfdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/hw_random/n2-drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 8b9cfdc

Please sign in to comment.