usb client: do not set serial 02/90302/1 accepted/tizen_common tizen_3.0.m2 accepted/tizen/3.0/common/20161114.105113 accepted/tizen/4.0/unified/20170816.013722 accepted/tizen/4.0/unified/20170828.224357 accepted/tizen/common/20160930.174631 accepted/tizen/unified/20170310.075604 submit/tizen/20160929.102549 submit/tizen_3.0_common/20161104.104000 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.110001 submit/tizen_unified/20170310.010401 tizen_4.0.m1_release
authortaeyoung <ty317.kim@samsung.com>
Thu, 29 Sep 2016 10:09:38 +0000 (19:09 +0900)
committertaeyoung <ty317.kim@samsung.com>
Thu, 29 Sep 2016 10:09:38 +0000 (19:09 +0900)
The serial is used to distinguish devices for testing.
Thus the serial is not set.

Change-Id: I49b139878c68ac8769eb7d7f5d1424145eb78dd7
Signed-off-by: taeyoung <ty317.kim@samsung.com>
hw/usb_client/usb_client.c

index f63354d..455e741 100644 (file)
@@ -460,13 +460,6 @@ static int legacy_set_gadget_strs(struct usb_gadget_strings *strs)
                        return ret;
        }
 
-       if (strs->serial) {
-               ret = sys_set_str(LEGACY_ISERIAL_PATH,
-                                 strs->serial);
-               if (ret)
-                       return ret;
-       }
-
        return ret;
 }