summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-10-04 08:09:10 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-10-04 08:09:10 -0300
commit0154689ed368b7585479d0282e6b4e823e5dac85 (patch)
tree5978ebdde76582970e77202804bbbb68a63b1d04
parentcde50b7de8206bf0a32a2bedffea5f77cac0cc83 (diff)
downloadmediapointer-dvb-s2-0154689ed368b7585479d0282e6b4e823e5dac85.tar.gz
mediapointer-dvb-s2-0154689ed368b7585479d0282e6b4e823e5dac85.tar.bz2
Radio: No need to return void
From: Tobias Klauser <tklauser@distanz.ch> The module_exit function has return-type void and pci_unregister_driver() returns void anyway. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--linux/drivers/media/radio/radio-gemtek-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/radio/radio-gemtek-pci.c b/linux/drivers/media/radio/radio-gemtek-pci.c
index 83c7e0e5c..75f2756c1 100644
--- a/linux/drivers/media/radio/radio-gemtek-pci.c
+++ b/linux/drivers/media/radio/radio-gemtek-pci.c
@@ -450,7 +450,7 @@ static int __init gemtek_pci_init_module( void )
static void __exit gemtek_pci_cleanup_module( void )
{
- return pci_unregister_driver( &gemtek_pci_driver );
+ pci_unregister_driver(&gemtek_pci_driver);
}
MODULE_AUTHOR( "Vladimir Shebordaev <vshebordaev@mail.ru>" );