diff options
author | Tzung-Bi Shih <tzungbi@kernel.org> | 2022-02-16 16:03:03 +0800 |
---|---|---|
committer | Tzung-Bi Shih <tzungbi@kernel.org> | 2022-04-18 15:39:27 +0800 |
commit | f47a6113f4e87db7ca066635822e1b3ca3ed9514 (patch) | |
tree | 204f83a789948f975968eed7c53fa39a37e43563 /drivers/platform | |
parent | 2cd01bd6b117df07b1bc2852f08694fdd29e40ed (diff) |
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; |