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>
This commit is contained in:
Arnd Bergmann 2010-04-27 16:24:23 +02:00 committed by Frederic Weisbecker
parent 1114b68468
commit d5f1d54cbc

View File

@ -46,8 +46,7 @@ static ssize_t mmapper_write(struct file *file, const char __user *buf,
return count; return count;
} }
static int mmapper_ioctl(struct inode *inode, struct file *file, static long mmapper_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
unsigned int cmd, unsigned long arg)
{ {
return -ENOIOCTLCMD; return -ENOIOCTLCMD;
} }
@ -90,7 +89,7 @@ static const struct file_operations mmapper_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.read = mmapper_read, .read = mmapper_read,
.write = mmapper_write, .write = mmapper_write,
.ioctl = mmapper_ioctl, .unlocked_ioctl = mmapper_ioctl,
.mmap = mmapper_mmap, .mmap = mmapper_mmap,
.open = mmapper_open, .open = mmapper_open,
.release = mmapper_release, .release = mmapper_release,