aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-10-03 00:26:49 +0400
committerAlexey Dobriyan <adobriyan@gmail.com>2008-10-10 04:18:55 +0400
commita04f4de6412a4f0ababf9f665674414f26d4cb6e (patch)
treee9967edf94427ee770d5c366965b6c2c3f571367
parente1675231ceedf83f20943a26e5e346a52163dec8 (diff)
proc: remove dummy vmcore_open()
Empty ->open is equivalent to always succeeding ->open. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
-rw-r--r--fs/proc/vmcore.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/proc/vmcore.c b/fs/proc/vmcore.c
index 9ac0f5e064e..841368b87a2 100644
--- a/fs/proc/vmcore.c
+++ b/fs/proc/vmcore.c
@@ -165,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)