[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <493049e1.0ab6660a.0bc3.ffffaf3b@mx.google.com>
Date: Thu, 27 Nov 2008 23:23:38 +0100
From: Hannes Eder <hannes@...neseder.net>
To: Bartlomiej Zolnierkiewicz <bzolnier@...il.com>
Cc: trivial@...nel.org
Subject: [PATCH] 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@...neseder.net>
---
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 e56c7b7..45d2356 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);
--
1.5.6.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists