]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/proc/vmcore.c
ide-disk: move IDE_DFLAG_DOORLOCKING flag handling to idedisk_set_doorlock()
[linux-2.6-omap-h63xx.git] / fs / proc / vmcore.c
index 523e1098ae88f4d85fe87f9df388249e46af9adf..841368b87a29dbb89c68c4539b6203a7e0501905 100644 (file)
@@ -10,7 +10,6 @@
 #include <linux/mm.h>
 #include <linux/proc_fs.h>
 #include <linux/user.h>
-#include <linux/a.out.h>
 #include <linux/elf.h>
 #include <linux/elfcore.h>
 #include <linux/highmem.h>
@@ -166,14 +165,8 @@ static ssize_t read_vmcore(struct file *file, char __user *buffer,
        return acc;
 }
 
-static int open_vmcore(struct inode *inode, struct file *filp)
-{
-       return 0;
-}
-
 const struct file_operations proc_vmcore_operations = {
        .read           = read_vmcore,
-       .open           = open_vmcore,
 };
 
 static struct vmcore* __init get_new_element(void)