sprd/iq: remove build warning 88/164288/1
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 18 Dec 2017 09:27:44 +0000 (18:27 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 18 Dec 2017 09:27:46 +0000 (18:27 +0900)
Remove unused variable build warning.

Change-Id: I29c0b76b872c3f075c0493231aa6ad03920126cc
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/iq/sprd_iq.c

index 93325fc..ff4cc2e 100644 (file)
@@ -170,8 +170,6 @@ static long iq_mem_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
 
 static int iq_mem_nocache_mmap(struct file *filp, struct vm_area_struct *vma)
 {
-    size_t size = vma->vm_end - vma->vm_start;
-
     printk(KERN_INFO "iq_mem_nocache_mmap\n");
 
     vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);