From 42ae217f7d7a685e8eae60d8d33ff56c920499ec Mon Sep 17 00:00:00 2001 From: Ravi Vembu Date: Tue, 24 Sep 2019 12:27:47 -0500 Subject: [PATCH] stmvl53l1: Fix Compiler warning Remove unused variable to remove compiler warning for laser driver Change-Id: Ic45344db08ae125c00cb71621f8c63ee89293132 Signed-off-by: Ravi Vembu Mot-CRs-Fixed: (CR) Reviewed-on: https://gerrit.mot.com/1427326 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Submit-Approved: Jira Key --- drivers/input/misc/vl53L1/stmvl53l1_module.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/input/misc/vl53L1/stmvl53l1_module.c b/drivers/input/misc/vl53L1/stmvl53l1_module.c index a3a12ba35307..fa3ca91b02d9 100644 --- a/drivers/input/misc/vl53L1/stmvl53l1_module.c +++ b/drivers/input/misc/vl53L1/stmvl53l1_module.c @@ -1170,7 +1170,6 @@ static ssize_t stmvl53l1_show_roi(struct device *dev, } -static const char str_roi_ranging[] = "ERROR can't set roi while ranging\n"; static ssize_t stmvl53l1_store_roi(struct device *dev, struct device_attribute *attr,