alpha: remove unnecessary cast from void* in assignment.

Acked-by: Jan-Benedict Glaw <[email protected]>
Signed-off-by: matt mooney <[email protected]>
Signed-off-by: Matt Turner <[email protected]>
This commit is contained in:
matt mooney 2010-09-14 05:27:39 -04:00 • committed by Matt Turner
commit af96f8a340
2 changed files with 2 additions and 2 deletions

View file

@ -66,7 +66,7 @@ static int pci_mmap_resource(struct kobject *kobj,
{
struct pci_dev *pdev = to_pci_dev(container_of(kobj,
struct device, kobj));
struct resource *res = (struct resource *)attr->private;
struct resource *res = attr->private;
enum pci_mmap_state mmap_type;
struct pci_bus_region bar;
int i;

View file

@ -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;