disp: msm: dsi: Remove unused for loop in ESD reg read validation
In ESD register read validation, a for loop is used to increment a local variable with the length of ESD command. But this is unused in the validation of the read data. This change removes the unused for loop. Change-Id: I6d1a9233061ee33a2b5390e2f922a2412af7d605 Signed-off-by: Ritesh Kumar <riteshk@codeaurora.org>
Cette révision appartient à :

révisé par
Gerrit - the friendly Code Review server

Parent
8b0b1d1c51
révision
fabb811119
@@ -586,9 +586,6 @@ static bool dsi_display_validate_reg_read(struct dsi_panel *panel)
|
||||
for (i = 0; i < count; i++)
|
||||
len += lenp[i];
|
||||
|
||||
for (i = 0; i < len; i++)
|
||||
j += len;
|
||||
|
||||
for (j = 0; j < config->groups; ++j) {
|
||||
for (i = 0; i < len; ++i) {
|
||||
if (config->return_buf[i] !=
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur