summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/usb/host/whci/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/usb/host/whci/init.c')
-rw-r--r--kernel/drivers/usb/host/whci/init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/drivers/usb/host/whci/init.c b/kernel/drivers/usb/host/whci/init.c
index d3e13b640..e36372393 100644
--- a/kernel/drivers/usb/host/whci/init.c
+++ b/kernel/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)