Input: keyboard: tc350-touchkey: Remove a build warning 48/159648/1 accepted/tizen/unified/20171113.092516 submit/tizen/20171113.013653
authorWook Song <wook16.song@samsung.com>
Fri, 10 Nov 2017 08:25:30 +0000 (17:25 +0900)
committerWook Song <wook16.song@samsung.com>
Fri, 10 Nov 2017 08:25:30 +0000 (17:25 +0900)
This patch removes a build warning caused by a unused variable.

Change-Id: Ib89f0b36a5e443466698d6fa45939ef716dab393
Signed-off-by: Wook Song <wook16.song@samsung.com>
drivers/input/keyboard/coreriver/tc350-touchkey.c

index e834381..f44c4c0 100644 (file)
@@ -2021,7 +2021,6 @@ static int tc300k_get_sleep_monitor_cb(void* priv, unsigned int *raw_val, int ch
        struct tc300k_data *data = priv;
        struct i2c_client *client = data->client;
        int state = DEVICE_UNKNOWN;
-       int pwr_mode;
        int pretty;
 
        if (check_level == SLEEP_MONITOR_CHECK_SOFT) {