Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a04f4de6 authored by Alexey Dobriyan's avatar Alexey Dobriyan
Browse files

proc: remove dummy vmcore_open()



Empty ->open is equivalent to always succeeding ->open.

Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
parent e1675231
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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)