Commit 1e5065db authored by Himanshu Chauhan's avatar Himanshu Chauhan Committed by Greg Kroah-Hartman

Staging: usbip: minor code cleanup

Signed-off-by: default avatarHimanshu Chauhan <himanshu@symmetricore.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 22e0967f
......@@ -55,10 +55,7 @@ static ssize_t show_flag(struct device *dev, struct device_attribute *attr,
static ssize_t store_flag(struct device *dev, struct device_attribute *attr,
const char *buf, size_t count)
{
unsigned long flag;
sscanf(buf, "%lx", &flag);
usbip_debug_flag = flag;
sscanf(buf, "%lx", &usbip_debug_flag);
return count;
}
......
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