Skip to content

Commit

Permalink
Staging: usbip: minor code cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Himanshu Chauhan <himanshu@symmetricore.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Himanshu Chauhan authored and Greg Kroah-Hartman committed Mar 4, 2010
1 parent 22e0967 commit 1e5065d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions drivers/staging/usbip/usbip_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1e5065d

Please sign in to comment.