diff options
author | Thomas Renninger <trenn@suse.de> | 2011-03-31 13:36:38 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-04-01 02:24:31 -0400 |
commit | 1cb7b1e0de6a1f8f071f4a146e3d10f3a662f707 (patch) | |
tree | 8a66774191480f2ba893c0b9391c66d60b6ba6d1 /include/linux/acpi.h | |
parent | 521cb40b0c44418a4fd36dc633f575813d59a43d (diff) | |
download | lwn-1cb7b1e0de6a1f8f071f4a146e3d10f3a662f707.tar.gz lwn-1cb7b1e0de6a1f8f071f4a146e3d10f3a662f707.zip |
ACPI EC: remove dead code
static void acpi_ec_gpe_query(void *ec_cxt);
-> The function is right above this declaration -> not needed.
poll_force is also not used, cleaned up in ec.c and its users:
compal-laptop and msi-laptop.
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r-- | include/linux/acpi.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index a2e910e01293..1deb2a73c2da 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -150,8 +150,7 @@ extern int ec_read(u8 addr, u8 *val); extern int ec_write(u8 addr, u8 val); extern int ec_transaction(u8 command, const u8 *wdata, unsigned wdata_len, - u8 *rdata, unsigned rdata_len, - int force_poll); + u8 *rdata, unsigned rdata_len); #if defined(CONFIG_ACPI_WMI) || defined(CONFIG_ACPI_WMI_MODULE) |