diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-03-28 01:56:43 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-28 09:16:06 -0800 |
commit | f45e4656ac0609437267b242953c07d523649f8d (patch) | |
tree | bd70b8ae51d2a29c435a6567852f32badafb2720 /arch | |
parent | 50fc9999ec27ad66ce6db31ebb03759f77962bc1 (diff) | |
download | kernel_samsung_smdk4412-f45e4656ac0609437267b242953c07d523649f8d.zip kernel_samsung_smdk4412-f45e4656ac0609437267b242953c07d523649f8d.tar.gz kernel_samsung_smdk4412-f45e4656ac0609437267b242953c07d523649f8d.tar.bz2 |
[PATCH] arch/i386/kernel/microcode.c: remove the obsolete microcode_ioctl
Nowadays, even Debian stable ships a microcode_ctl utility recent enough to no
longer use this ioctl.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Tigran Aivazian <tigran_aivazian@symantec.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/kernel/microcode.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/i386/kernel/microcode.c b/arch/i386/kernel/microcode.c index dd780a0..e7c138f 100644 --- a/arch/i386/kernel/microcode.c +++ b/arch/i386/kernel/microcode.c @@ -459,26 +459,9 @@ static ssize_t microcode_write (struct file *file, const char __user *buf, size_ return ret; } -static int microcode_ioctl (struct inode *inode, struct file *file, - unsigned int cmd, unsigned long arg) -{ - switch (cmd) { - /* - * XXX: will be removed after microcode_ctl - * is updated to ignore failure of this ioctl() - */ - case MICROCODE_IOCFREE: - return 0; - default: - return -EINVAL; - } - return -EINVAL; -} - static struct file_operations microcode_fops = { .owner = THIS_MODULE, .write = microcode_write, - .ioctl = microcode_ioctl, .open = microcode_open, }; |