]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[PATCH] Fix compile warning in bt8xx module
authorDmitry Torokhov <dtor_core@ameritech.net>
Mon, 16 Jan 2006 04:32:53 +0000 (23:32 -0500)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 17 Jan 2006 07:24:10 +0000 (23:24 -0800)
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/media/dvb/bt8xx/dvb-bt8xx.c

index 44fcbe77c8f95b24e5d5d137e490c22144685800..ea27b15007e9352f2de20cd8918264c1b4c4d2a5 100644 (file)
@@ -893,7 +893,7 @@ static int dvb_bt8xx_probe(struct bttv_sub_device *sub)
        return 0;
 }
 
-static int dvb_bt8xx_remove(struct bttv_sub_device *sub)
+static void dvb_bt8xx_remove(struct bttv_sub_device *sub)
 {
        struct dvb_bt8xx_card *card = dev_get_drvdata(&sub->dev);
 
@@ -911,8 +911,6 @@ static int dvb_bt8xx_remove(struct bttv_sub_device *sub)
        dvb_unregister_adapter(&card->dvb_adapter);
 
        kfree(card);
-
-       return 0;
 }
 
 static struct bttv_sub_driver driver = {