usb client: do not set serial
authortaeyoung <ty317.kim@samsung.com>
Thu, 29 Sep 2016 10:12:16 +0000 (19:12 +0900)
committertaeyoung <ty317.kim@samsung.com>
Thu, 29 Sep 2016 10:12:16 +0000 (19:12 +0900)
The serial is used to distinguish devices for testing.
Thus the serial is not set.

Change-Id: I1338e0d08eb504709ea38a64ed4e2664d06beac0
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;
 }