summaryrefslogtreecommitdiff
path: root/drivers/usb/host/whci/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/whci/init.c')
-rw-r--r--drivers/usb/host/whci/init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/host/whci/init.c b/drivers/usb/host/whci/init.c
index d3e13b640d4b..e36372393bb1 100644
--- a/drivers/usb/host/whci/init.c
+++ b/drivers/usb/host/whci/init.c
@@ -175,8 +175,7 @@ void whc_clean_up(struct whc *whc)
pzl_clean_up(whc);
asl_clean_up(whc);
- if (whc->qset_pool)
- dma_pool_destroy(whc->qset_pool);
+ dma_pool_destroy(whc->qset_pool);
len = resource_size(&whc->umc->resource);
if (whc->base)