Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932208AbWAPEc7 (ORCPT ); Sun, 15 Jan 2006 23:32:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932211AbWAPEc7 (ORCPT ); Sun, 15 Jan 2006 23:32:59 -0500 Received: from smtp104.sbc.mail.re2.yahoo.com ([68.142.229.101]:51043 "HELO smtp104.sbc.mail.re2.yahoo.com") by vger.kernel.org with SMTP id S932208AbWAPEc7 (ORCPT ); Sun, 15 Jan 2006 23:32:59 -0500 From: Dmitry Torokhov To: Russell King Subject: [PATCH] Fix compile warning in bt8xx module Date: Sun, 15 Jan 2006 23:32:53 -0500 User-Agent: KMail/1.9.1 Cc: Greg KH , Linus Torvalds , LKML MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200601152332.54168.dtor_core@ameritech.net> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1050 Lines: 33 Signed-off-by: Dmitry Torokhov --- 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 = { - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/