提交 1e5065db 编写于 作者: H Himanshu Chauhan 提交者: Greg Kroah-Hartman

Staging: usbip: minor code cleanup

Signed-off-by: NHimanshu Chauhan <himanshu@symmetricore.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册