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:
Warner Losh
2026-01-02 12:55:28 -07:00
parent a6d57f312f
commit b258282ecc
+1 -1
View File
@@ -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;