]> err.no Git - linux-2.6/commit
[WATCHDOG] Fix return value warning in hpwdt
authorRoland Dreier <rdreier@cisco.com>
Thu, 28 Feb 2008 17:48:10 +0000 (09:48 -0800)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 6 Mar 2008 11:10:44 +0000 (11:10 +0000)
commitef82710a3f80cd24d459c508f91542ecccb1f340
tree11c1454eb39f0f82378f179bb15f43b992093613
parent103018aca2e4ba0d0e230efa864231c59228f419
[WATCHDOG] Fix return value warning in hpwdt

The return value of smbios_scan_machine() is never used, and when it
succeeds it doesn't return anything, so just make it void.  This fixes:

    drivers/watchdog/hpwdt.c: In function 'smbios_scan_machine':
    drivers/watchdog/hpwdt.c:562: warning: control reaches end of non-void function

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Acked-by: Thomas Mingarelli <Thomas.Mingarelli@hp.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/watchdog/hpwdt.c