From 8fac128ce9a12908b5089ee5e3be435b42e59cac Mon Sep 17 00:00:00 2001 From: Corey Minyard Date: Fri, 12 Apr 2019 20:46:34 -0500 Subject: ipmi: Remove file from ipmi_file_private It's not used by anything, so just get rid of it. Reported-by: Al Viro Signed-off-by: Corey Minyard --- drivers/char/ipmi/ipmi_devintf.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'drivers/char/ipmi') diff --git a/drivers/char/ipmi/ipmi_devintf.c b/drivers/char/ipmi/ipmi_devintf.c index 99c9f581a1f3..f7b1c004a12b 100644 --- a/drivers/char/ipmi/ipmi_devintf.c +++ b/drivers/char/ipmi/ipmi_devintf.c @@ -29,7 +29,6 @@ struct ipmi_file_private struct ipmi_user *user; spinlock_t recv_msg_lock; struct list_head recv_msgs; - struct file *file; struct fasync_struct *fasync_queue; wait_queue_head_t wait; struct mutex recv_mutex; @@ -95,8 +94,6 @@ static int ipmi_open(struct inode *inode, struct file *file) if (!priv) return -ENOMEM; - priv->file = file; - rv = ipmi_create_user(if_num, &ipmi_hndlrs, priv, -- cgit v1.2.3