Re: [PATCH] usb: core: Remove unnecessary memset()

2018-12-10 Thread Alan Stern
On Tue, 4 Dec 2018, Suwan Kim wrote: > register_root_hub() calls memset() setting usb_dev->bus->devmap. > devicemap to 0 during hcd probe function (usb_hcd_pci_probe). But > in previous function which is also the procedure of usb_hcd_pci_probe(), > usb_bus_init() already initialized bus->devmap ca

[PATCH] usb: core: Remove unnecessary memset()

2018-12-04 Thread Suwan Kim
register_root_hub() calls memset() setting usb_dev->bus->devmap. devicemap to 0 during hcd probe function (usb_hcd_pci_probe). But in previous function which is also the procedure of usb_hcd_pci_probe(), usb_bus_init() already initialized bus->devmap calling memset(). Furthermore, register_root_hub