aboutsummaryrefslogtreecommitdiff
path: root/drivers/acpi
diff options
context:
space:
mode:
authorLen Brown2008-02-07 04:24:01 -0500
committerLen Brown2008-02-07 04:24:01 -0500
commitb7143156c9ceee1a072c57aac8729d2dec5b3bf1 (patch)
tree5c6ca6f199bdf9f4214d26eaf094508dec3d62f4 /drivers/acpi
parent9b7131542178f5f948e4bb6bea6e1c545e697b06 (diff)
ACPI: fix build warning
drivers/acpi/system.c:360: warning: ignoring return value of ‘sysfs_create_group’, declared with attribute warn_unused_result Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/system.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/system.c b/drivers/acpi/system.c
index ce881713f7a6..55cf4c05bb74 100644
--- a/drivers/acpi/system.c
+++ b/drivers/acpi/system.c
@@ -357,8 +357,8 @@ void acpi_irq_stats_init(void)
}
interrupt_stats_attr_group.attrs = all_attrs;
- sysfs_create_group(acpi_kobj, &interrupt_stats_attr_group);
- return;
+ if (!sysfs_create_group(acpi_kobj, &interrupt_stats_attr_group))
+ return;
fail:
delete_gpe_attr_array();