projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22e0967
)
Staging: usbip: minor code cleanup
author
Himanshu Chauhan
<Himanshu@symmetricore.com>
Fri, 22 Jan 2010 20:21:57 +0000
(
01:51
+0530)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 4 Mar 2010 00:42:52 +0000
(16:42 -0800)
Signed-off-by: Himanshu Chauhan <himanshu@symmetricore.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/usbip/usbip_common.c
patch
|
blob
|
history
diff --git
a/drivers/staging/usbip/usbip_common.c
b/drivers/staging/usbip/usbip_common.c
index
ddb6f5f
..
57c0ff5
100644
(file)
--- a/
drivers/staging/usbip/usbip_common.c
+++ b/
drivers/staging/usbip/usbip_common.c
@@
-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;
}