summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/pci/asihpi/hpioctl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/pci/asihpi/hpioctl.c b/sound/pci/asihpi/hpioctl.c
index e457eb80658..6aa677e6055 100644
--- a/sound/pci/asihpi/hpioctl.c
+++ b/sound/pci/asihpi/hpioctl.c
@@ -547,8 +547,7 @@ void asihpi_adapter_remove(struct pci_dev *pci_dev)
if (pa->irq)
free_irq(pa->irq, pa);
- if (pa->p_buffer)
- vfree(pa->p_buffer);
+ vfree(pa->p_buffer);
if (1)
dev_info(&pci_dev->dev,