Gitweb: http://git.kernel.org/linus/1e5065dbd6fe53b46d8281db7b4286751dcf607a Commit: 1e5065dbd6fe53b46d8281db7b4286751dcf607a Parent: 22e0967f72494564e416b157568ed5876666ad26 Author: Himanshu Chauhan <Himanshu@symmetricore.com> AuthorDate: Sat Jan 23 01:51:57 2010 +0530 Committer: Greg Kroah-Hartman <gregkh@suse.de> CommitDate: Wed Mar 3 16:42:52 2010 -0800 Staging: usbip: minor code cleanup Signed-off-by: Himanshu Chauhan <himanshu@symmetricore.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/staging/usbip/usbip_common.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/staging/usbip/usbip_common.c b/drivers/staging/usbip/usbip_common.c index ddb6f5f..57c0ff5 100644 --- 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; } -- To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
