summaryrefslogtreecommitdiff
path: root/drivers/usb/core/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/core/buffer.c')
-rw-r--r--drivers/usb/core/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/buffer.c b/drivers/usb/core/buffer.c
index a649e32d9dde..1e2a42ad34a4 100644
--- a/drivers/usb/core/buffer.c
+++ b/drivers/usb/core/buffer.c
@@ -94,7 +94,7 @@ void hcd_buffer_destroy (struct usb_hcd *hcd)
struct dma_pool *pool = hcd->pool [i];
if (pool) {
dma_pool_destroy (pool);
- hcd->pool [i] = 0;
+ hcd->pool[i] = NULL;
}
}
}