mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
Resolve compilation errors with unused parameters "ret"
TP: warning unused variable 'ret' error, forbidden warning:fts.c:4034. Change-Id: I10a19d48f54e601c1e0f5ff230bd219c830d441f Reviewed-on: https://gerrit.mot.com/1925688 Tested-by: Jira Key SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Reviewed-by: Jichao Zou <zoujc@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
5c9a72fc9c
commit
4fb1702a1f
1 changed files with 1 additions and 2 deletions
|
|
@ -4031,9 +4031,8 @@ err_pinctrl_get:
|
|||
|
||||
static int fts_mmi_set_limit_name(struct fts_ts_info *ts)
|
||||
{
|
||||
int ret;
|
||||
|
||||
#if defined(CONFIG_INPUT_TOUCHSCREEN_MMI) && defined(CONFIG_ST_LIMIT_USE_SUPPLIER)
|
||||
int ret;
|
||||
const char* supplier = NULL;
|
||||
if (ts->imports && ts->imports->get_supplier) {
|
||||
ret = ts->imports->get_supplier(ts->dev, &supplier);
|
||||
|
|
|
|||
Loading…
Reference in a new issue