diff options
Diffstat (limited to 'drivers/media/dvb/bt8xx/dvb-bt8xx.c')
-rw-r--r-- | drivers/media/dvb/bt8xx/dvb-bt8xx.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/dvb/bt8xx/dvb-bt8xx.c b/drivers/media/dvb/bt8xx/dvb-bt8xx.c index 44fcbe77c8f9..ea27b15007e9 100644 --- a/drivers/media/dvb/bt8xx/dvb-bt8xx.c +++ b/drivers/media/dvb/bt8xx/dvb-bt8xx.c | |||
@@ -893,7 +893,7 @@ static int dvb_bt8xx_probe(struct bttv_sub_device *sub) | |||
893 | return 0; | 893 | return 0; |
894 | } | 894 | } |
895 | 895 | ||
896 | static int dvb_bt8xx_remove(struct bttv_sub_device *sub) | 896 | static void dvb_bt8xx_remove(struct bttv_sub_device *sub) |
897 | { | 897 | { |
898 | struct dvb_bt8xx_card *card = dev_get_drvdata(&sub->dev); | 898 | struct dvb_bt8xx_card *card = dev_get_drvdata(&sub->dev); |
899 | 899 | ||
@@ -911,8 +911,6 @@ static int dvb_bt8xx_remove(struct bttv_sub_device *sub) | |||
911 | dvb_unregister_adapter(&card->dvb_adapter); | 911 | dvb_unregister_adapter(&card->dvb_adapter); |
912 | 912 | ||
913 | kfree(card); | 913 | kfree(card); |
914 | |||
915 | return 0; | ||
916 | } | 914 | } |
917 | 915 | ||
918 | static struct bttv_sub_driver driver = { | 916 | static struct bttv_sub_driver driver = { |