mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
[PATCH] Fix compile warning in bt8xx module
Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
ea13dbc89c
commit
a462e9ff52
@@ -893,7 +893,7 @@ static int dvb_bt8xx_probe(struct bttv_sub_device *sub)
|
|||||||
return 0;
|
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);
|
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);
|
dvb_unregister_adapter(&card->dvb_adapter);
|
||||||
|
|
||||||
kfree(card);
|
kfree(card);
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct bttv_sub_driver driver = {
|
static struct bttv_sub_driver driver = {
|
||||||
|
Reference in New Issue
Block a user