diff options
Diffstat (limited to 'payloads')
-rw-r--r-- | payloads/libpayload/drivers/usb/usb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/libpayload/drivers/usb/usb.c b/payloads/libpayload/drivers/usb/usb.c index 995b4c2918..1f21e6a994 100644 --- a/payloads/libpayload/drivers/usb/usb.c +++ b/payloads/libpayload/drivers/usb/usb.c @@ -76,7 +76,7 @@ usb_exit (void) if (usb_hcs == 0) return 0; hci_t *controller = usb_hcs; - while (controller != 0) { + while (controller != NULL) { controller->shutdown(controller); controller = controller->next; } @@ -92,7 +92,7 @@ usb_poll (void) if (usb_hcs == 0) return; hci_t *controller = usb_hcs; - while (controller != 0) { + while (controller != NULL) { int i; for (i = 0; i < 128; i++) { if (controller->devices[i] != 0) { |