diff options
author | 2010-09-14 05:27:39 -0400 | |
---|---|---|
committer | 2010-09-18 23:06:17 -0400 | |
commit | af96f8a340525f24abecc25848a07fff7636a53e (patch) | |
tree | a9fead3c3f3302f4818bbac5d0cc1b494df4e1b5 /arch/alpha/kernel/srm_env.c | |
parent | alpha: Use static const char * const where possible (diff) | |
download | linux-af96f8a340525f24abecc25848a07fff7636a53e.tar.gz linux-af96f8a340525f24abecc25848a07fff7636a53e.tar.bz2 linux-af96f8a340525f24abecc25848a07fff7636a53e.zip |
alpha: remove unnecessary cast from void* in assignment.
Acked-by: Jan-Benedict Glaw <jbglaw@lug-owl.de>
Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'arch/alpha/kernel/srm_env.c')
-rw-r--r-- | arch/alpha/kernel/srm_env.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/kernel/srm_env.c b/arch/alpha/kernel/srm_env.c index 4afc1a1e2e5a..f0df3fbd8402 100644 --- a/arch/alpha/kernel/srm_env.c +++ b/arch/alpha/kernel/srm_env.c @@ -87,7 +87,7 @@ static int srm_env_proc_show(struct seq_file *m, void *v) srm_env_t *entry; char *page; - entry = (srm_env_t *)m->private; + entry = m->private; page = (char *)__get_free_page(GFP_USER); if (!page) return -ENOMEM; |