Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756117Ab0AVSSY (ORCPT ); Fri, 22 Jan 2010 13:18:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756078Ab0AVSSX (ORCPT ); Fri, 22 Jan 2010 13:18:23 -0500 Received: from mail-bw0-f227.google.com ([209.85.218.227]:48328 "EHLO mail-bw0-f227.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756056Ab0AVSSX (ORCPT ); Fri, 22 Jan 2010 13:18:23 -0500 From: Himanshu Chauhan To: Linux Kernel Subject: [PATCH] USB-IP: Small clean up based on previous comments. Date: Fri, 22 Jan 2010 23:50:36 +0530 Message-Id: <1264184437-6971-1-git-send-email-himanshu@symmetricore.com> X-Mailer: git-send-email 1.6.3.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1169 Lines: 41 Hi, I am trying to take a look at usb-ip to get it into mainline. This is a small patch (my first patch ever) in this regard. Please let me know the comments. Thanks Regards Himanshu Signed-off-by: Himanshu Chauhan --- 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; } -- 1.6.3.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/