]> err.no Git - linux-2.6/commitdiff
V4L/DVB (4711): Radio: No need to return void
authorTobias Klauser <tklauser@distanz.ch>
Wed, 4 Oct 2006 11:09:10 +0000 (08:09 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 4 Oct 2006 11:15:38 +0000 (08:15 -0300)
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>
drivers/media/radio/radio-gemtek-pci.c

index cfab57d6bc4a7b9d8dfcf3a86c1252affa7167da..eb14106f66fa28a33777ce7c53cf368512ff9ac7 100644 (file)
@@ -449,7 +449,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>" );