X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Fm68k%2Fmm%2Fkmap.c;h=46b7d6035aabaab6a299f5c2cef9fee411c96bb4;hb=0e9871df2389560e94ba01e40959140ee56def4b;hp=b54ef1726c557f827665ae3055eb2c1f8868c2c7;hpb=752c58a471c108d64da1676b2925dfbd83eb177e;p=linux-2.6 diff --git a/arch/m68k/mm/kmap.c b/arch/m68k/mm/kmap.c index b54ef1726c..46b7d6035a 100644 --- a/arch/m68k/mm/kmap.c +++ b/arch/m68k/mm/kmap.c @@ -59,7 +59,7 @@ static struct vm_struct *get_io_area(unsigned long size) unsigned long addr; struct vm_struct **p, *tmp, *area; - area = (struct vm_struct *)kmalloc(sizeof(*area), GFP_KERNEL); + area = kmalloc(sizeof(*area), GFP_KERNEL); if (!area) return NULL; addr = KMAP_START;