Commit e77c4e6a authored by Lisa Nguyen's avatar Lisa Nguyen Committed by Greg Kroah-Hartman

usb: misc: Fixed assignment error in if statement

Fixed the assignment error in an if statement in adutux.c
Signed-off-by: default avatarLisa Nguyen <lisa@xenapiadmin.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 83fc1fcd
......@@ -276,7 +276,8 @@ static int adu_open(struct inode *inode, struct file *file)
subminor = iminor(inode);
if ((retval = mutex_lock_interruptible(&adutux_mutex))) {
retval = mutex_lock_interruptible(&adutux_mutex);
if (retval) {
dbg(2, "%s : mutex lock failed", __func__);
goto exit_no_lock;
}
......
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