]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
alim15x3: fix sparse warning
authorHannes Eder <hannes@hanneseder.net>
Tue, 2 Dec 2008 19:40:04 +0000 (20:40 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 2 Dec 2008 19:40:04 +0000 (20:40 +0100)
Fix this sparse warning:

  drivers/ide/alim15x3.c:594:2: warning: returning void-valued expression

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/alim15x3.c

index e56c7b72f9e24ce592e4f776932815bf9dd5bccb..45d2356bb7254ff1fb9f96d71e6c7e1661e4bf18 100644 (file)
@@ -591,7 +591,7 @@ static int __init ali15x3_ide_init(void)
 
 static void __exit ali15x3_ide_exit(void)
 {
-       return pci_unregister_driver(&alim15x3_pci_driver);
+       pci_unregister_driver(&alim15x3_pci_driver);
 }
 
 module_init(ali15x3_ide_init);