bajing, le mar. 13 août 2024 11:17:53 +0800, a ecrit: > In the while loop, the variable lc is unused and is reinitialized later, so this redundant operation should be removed. > > Signed-off-by: bajing <bajing@xxxxxxxxxxxxxxxxxxxx> Reviewed-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> > --- > drivers/accessibility/speakup/genmap.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/accessibility/speakup/genmap.c b/drivers/accessibility/speakup/genmap.c > index 0125000e00d9..836276327bdd 100644 > --- a/drivers/accessibility/speakup/genmap.c > +++ b/drivers/accessibility/speakup/genmap.c > @@ -72,7 +72,6 @@ main(int argc, char *argv[]) > > open_input(NULL, argv[1]); > while (fgets(buffer, sizeof(buffer), infile)) { > - lc++; > value = shift_state = 0; > > cp = strtok(buffer, delims); > -- > 2.33.0