projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e833bc
)
hwrng: n2-drv - remove casts from void*
author
Kulikov Vasiliy
<segooon@gmail.com>
Mon, 5 Jul 2010 13:25:06 +0000
(21:25 +0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Mon, 5 Jul 2010 13:25:06 +0000
(21:25 +0800)
Remove unnesessary casts from void*.
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/n2-drv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/hw_random/n2-drv.c
b/drivers/char/hw_random/n2-drv.c
index 0f9cbf1aaf15963bf1acda06f52de1d33836b990..101d5f2355470b8e62b148cefd27e70807bd33e1 100644
(file)
--- 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;