summaryrefslogtreecommitdiffstats
path: root/sound/pcmcia/vx/vx_entry.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pcmcia/vx/vx_entry.c')
-rw-r--r--sound/pcmcia/vx/vx_entry.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/pcmcia/vx/vx_entry.c b/sound/pcmcia/vx/vx_entry.c
index 53d8172c52a..332bbca3dfc 100644
--- a/sound/pcmcia/vx/vx_entry.c
+++ b/sound/pcmcia/vx/vx_entry.c
@@ -68,8 +68,7 @@ static int snd_vxpocket_free(vx_core_t *chip)
if (hw)
hw->card_list[vxp->index] = NULL;
chip->card = NULL;
- if (chip->dev)
- kfree(chip->dev);
+ kfree(chip->dev);
snd_vx_free_firmware(chip);
kfree(chip);