forked from Minki/linux
Staging: usbip: minor code cleanup
Signed-off-by: Himanshu Chauhan <himanshu@symmetricore.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
22e0967f72
commit
1e5065dbd6
@ -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,
|
static ssize_t store_flag(struct device *dev, struct device_attribute *attr,
|
||||||
const char *buf, size_t count)
|
const char *buf, size_t count)
|
||||||
{
|
{
|
||||||
unsigned long flag;
|
sscanf(buf, "%lx", &usbip_debug_flag);
|
||||||
|
|
||||||
sscanf(buf, "%lx", &flag);
|
|
||||||
usbip_debug_flag = flag;
|
|
||||||
|
|
||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user