summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/mach-generic/floppy.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/include/asm/mach-generic/floppy.h')
-rw-r--r--arch/mips/include/asm/mach-generic/floppy.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/mips/include/asm/mach-generic/floppy.h b/arch/mips/include/asm/mach-generic/floppy.h
index e2561d99a3fe..9ec2f6a5200b 100644
--- a/arch/mips/include/asm/mach-generic/floppy.h
+++ b/arch/mips/include/asm/mach-generic/floppy.h
@@ -115,11 +115,7 @@ static inline unsigned long fd_getfdaddr1(void)
static inline unsigned long fd_dma_mem_alloc(unsigned long size)
{
- unsigned long mem;
-
- mem = __get_dma_pages(GFP_KERNEL, get_order(size));
-
- return mem;
+ return __get_dma_pages(GFP_KERNEL, get_order(size));
}
static inline void fd_dma_mem_free(unsigned long addr, unsigned long size)