diff options
author | Tzung-Bi Shih <tzungbi@kernel.org> | 2022-02-16 09:03:03 +0100 |
---|---|---|
committer | Tzung-Bi Shih <tzungbi@kernel.org> | 2022-04-18 09:39:27 +0200 |
commit | f47a6113f4e87db7ca066635822e1b3ca3ed9514 (patch) | |
tree | 204f83a789948f975968eed7c53fa39a37e43563 /drivers/platform | |
parent | platform/chrome: cros_ec: fix error handling in cros_ec_register() (diff) | |
download | linux-f47a6113f4e87db7ca066635822e1b3ca3ed9514.tar.xz linux-f47a6113f4e87db7ca066635822e1b3ca3ed9514.zip |
platform/chrome: cros_ec: remove unused variable `was_wake_device`
Reviewed-by: Prashant Malani <pmalani@chromium.org>
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/chrome/cros_ec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/platform/chrome/cros_ec.c b/drivers/platform/chrome/cros_ec.c index a5cc8f24299e..836794871443 100644 --- a/drivers/platform/chrome/cros_ec.c +++ b/drivers/platform/chrome/cros_ec.c @@ -342,7 +342,6 @@ int cros_ec_suspend(struct cros_ec_device *ec_dev) ec_dev->wake_enabled = !enable_irq_wake(ec_dev->irq); disable_irq(ec_dev->irq); - ec_dev->was_wake_device = ec_dev->wake_enabled; ec_dev->suspended = true; return 0; |