diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-12-02 20:40:04 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-12-02 20:40:04 +0100 |
commit | 95964018d53f479529dfdc2b46fe30c0a14a00e0 (patch) | |
tree | b14bdb97a982fe9e6239996340f23f288f28e46e /drivers | |
parent | ide: remove dead code from drive_is_ready() (diff) | |
download | linux-95964018d53f479529dfdc2b46fe30c0a14a00e0.tar.xz linux-95964018d53f479529dfdc2b46fe30c0a14a00e0.zip |
alim15x3: fix sparse warning
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ide/alim15x3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/alim15x3.c b/drivers/ide/alim15x3.c index e56c7b72f9e2..45d2356bb725 100644 --- a/drivers/ide/alim15x3.c +++ b/drivers/ide/alim15x3.c @@ -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); |