Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

um/mmapper: Remove BKL usage

An empty function does not need the BKL, so just remove it.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>

authored by

Arnd Bergmann and committed by
Frederic Weisbecker
d5f1d54c 1114b684

+2 -3
+2 -3
arch/um/drivers/mmapper_kern.c
··· 46 46 return count; 47 47 } 48 48 49 - static int mmapper_ioctl(struct inode *inode, struct file *file, 50 - unsigned int cmd, unsigned long arg) 49 + static long mmapper_ioctl(struct file *file, unsigned int cmd, unsigned long arg) 51 50 { 52 51 return -ENOIOCTLCMD; 53 52 } ··· 89 90 .owner = THIS_MODULE, 90 91 .read = mmapper_read, 91 92 .write = mmapper_write, 92 - .ioctl = mmapper_ioctl, 93 + .unlocked_ioctl = mmapper_ioctl, 93 94 .mmap = mmapper_mmap, 94 95 .open = mmapper_open, 95 96 .release = mmapper_release,