public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix compile warning in bt8xx module
@ 2006-01-16  4:32 Dmitry Torokhov
  2006-01-19 10:41 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Torokhov @ 2006-01-16  4:32 UTC (permalink / raw)
  To: Russell King; +Cc: Greg KH, Linus Torvalds, LKML

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
---

 drivers/media/dvb/bt8xx/dvb-bt8xx.c |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)

Index: work/drivers/media/dvb/bt8xx/dvb-bt8xx.c
===================================================================
--- work.orig/drivers/media/dvb/bt8xx/dvb-bt8xx.c
+++ work/drivers/media/dvb/bt8xx/dvb-bt8xx.c
@@ -893,7 +893,7 @@ static int dvb_bt8xx_probe(struct bttv_s
 	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_
 	dvb_unregister_adapter(&card->dvb_adapter);
 
 	kfree(card);
-
-	return 0;
 }
 
 static struct bttv_sub_driver driver = {

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-01-19 14:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-16  4:32 [PATCH] Fix compile warning in bt8xx module Dmitry Torokhov
2006-01-19 10:41 ` Mauro Carvalho Chehab
2006-01-19 14:51   ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox