kshim/usb: Prefer memset to bzero
Replace bzero with the equivalent memset(x,0,x) since the latter is available in the kshim environment and we have a soft goal of migrating to standard interfaces when there's a reason... Sponsored by: Netflix
This commit is contained in:
@@ -3127,7 +3127,7 @@ usbd_fill_deviceinfo(struct usb_device *udev, struct usb_device_info *di)
|
||||
{
|
||||
struct usb_device *hub;
|
||||
|
||||
bzero(di, sizeof(di[0]));
|
||||
memset(di, 0, sizeof(di[0]));
|
||||
|
||||
di->udi_bus = device_get_unit(udev->bus->bdev);
|
||||
di->udi_addr = udev->address;
|
||||
|
||||
Reference in New Issue
Block a user