summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c
index 3adaddd2c..a36a00e90 100644
--- a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c
+++ b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c
@@ -594,9 +594,8 @@ static void __exit dvb_bt8xx_exit(void)
dvb_unregister_adapter(card->dvb_adapter);
dvb_bt8xx_adap_free(card->i2c_adapter);
- kfree(card);
-
list_del(&card->list);
+ kfree(card);
}
}