]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ACPI: bay: fix build warning
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 8 Feb 2007 00:51:46 +0000 (16:51 -0800)
committerLen Brown <len.brown@intel.com>
Fri, 9 Feb 2007 06:18:32 +0000 (01:18 -0500)
commitd94d3dff0d5da3bdfcbb424ba5c08534521fd690
treee5b0ff6d15c62a3fdae0427d8cc7251cdb0e0fab
parenta74388e21ef2adbba4450f7b3f05ffe88df630d5
ACPI: bay: fix build warning

drivers/acpi/bay.c: In function 'bay_add':
drivers/acpi/bay.c:310: warning: statement with no effect

Fix it by rewriting those macros in C.  Much nicer.

Cc: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
include/acpi/acpi_drivers.h