Commit e0241fac authored by Federico Vaga's avatar Federico Vaga

sw:drv: remove unused variable

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent bfdc56da
......@@ -59,9 +59,7 @@ static ssize_t spec_dbg_fw_write(struct file *file,
static int spec_dbg_fw_open(struct inode *inode, struct file *file)
{
struct htvic_device *htvic = inode->i_private;
file->private_data = htvic;
file->private_data = inode->i_private;
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment