staging: speakup: Remove unused variable.
PATCH 1/1 staging: speakup: Remove unused variable.
Remove unused variable which is used to store return value, Detected by Coccinelle semantic patch ret.cocci.
--- drivers/staging/speakup/i18n.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/speakup/i18n.c +1 -2
@@ -470,8 +470,7 @@ static char *find_specifier_end(char *input) input++;/* Advance over %. */ input =skip_flags (input); input =skip_width (input); - input =skip_conversion (input); -return input; +return skip_conversion (input); }/*
Signature · 1 line
2.7.4
Greg Kroah-Hartman
maintainerQuoted 13 lines · Bhagyashri Dighole
Remove unused variable which is used to store return value, Detected by Coccinelle semantic patch
ret.cocci.Signed-off-by Bhagyashri Dighole <[email protected]>--- drivers/staging/speakup/i18n.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/staging/speakup/i18n.c +0
-0
drivers/staging/speakup/i18n.c static char *find_specifier_end(char *input) · line 473
Quoted 6 lines
drivers/staging/speakup/i18n.c +1
-2@@ -470,8 +470,7 @@ static char *find_specifier_end(char *input) input++;/* Advance over %. */ input =skip_flags (input); input =skip_width (input); - input =skip_conversion (input); -return input; +return skip_conversion (input);
This same patch just got rejected a few days ago :(
Please see the mailing list for the details.
greg k-h
Quoted 24 lines · Greg Kroah-Hartman
Review
Quoted 9 lines · Bhagyashri Dighole
Remove unused variable which is used to store return value, Detected by Coccinelle semantic patch
ret.cocci.Signed-off-by Bhagyashri Dighole <[email protected]>--- drivers/staging/speakup/i18n.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)(quoted diff) +0
-0
b/drivers/staging/speakup/i18n.cdrivers/staging/speakup/i18n.c static char *find_specifier_end(char *input) · line 473
Quoted 10 lines
index ee240d3..a748eb8 100644
drivers/staging/speakup/i18n.c +1
-2@@ -470,8 +470,7 @@ static char *find_specifier_end(char *input) input++;/* Advance over %. */ input =skip_flags (input); input =skip_width (input); - input =skip_conversion (input); -return input; +return skip_conversion (input);This same patch just got rejected a few days ago :(
Quoted 2 lines
Please see the mailing list for the details.
I will check the mailing list.
Quoted 3 lines
greg k-h
Quoted 13 lines · Bhagyashri Dighole
Remove unused variable which is used to store return value, Detected by Coccinelle semantic patch
ret.cocci.Signed-off-by Bhagyashri Dighole <[email protected]>--- drivers/staging/speakup/i18n.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/staging/speakup/i18n.c +0
-0
drivers/staging/speakup/i18n.c static char *find_specifier_end(char *input) · line 473
Quoted 6 lines
drivers/staging/speakup/i18n.c +1
-2@@ -470,8 +470,7 @@ static char *find_specifier_end(char *input) input++;/* Advance over %. */ input =skip_flags (input); input =skip_width (input); - input =skip_conversion (input); -return input; +return skip_conversion (input);
The maintainer already said that he preferred this one left as is, because he liked the input = input = input = pattern.
julia
Quoted 13 lines
drivers/staging/speakup/i18n.c +0
-1}/* -- 2.7.4
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1552501395-12308-1-git-send-email-digholebhagyashri%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Quoted 14 lines · Julia Lawall
Review
Quoted 9 lines · Bhagyashri Dighole
Remove unused variable which is used to store return value, Detected by Coccinelle semantic patch
ret.cocci.Signed-off-by Bhagyashri Dighole <[email protected]>--- drivers/staging/speakup/i18n.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)(quoted diff) +0
-0
b/drivers/staging/speakup/i18n.c
Quoted 14 lines
drivers/staging/speakup/i18n.c static char *find_specifier_end(char *input) · line 473
Quoted 10 lines
index ee240d3..a748eb8 100644
drivers/staging/speakup/i18n.c +1
-2@@ -470,8 +470,7 @@ static char *find_specifier_end(char *input) input++;/* Advance over %. */ input =skip_flags (input); input =skip_width (input); - input =skip_conversion (input); -return input; +return skip_conversion (input);The maintainer already said that he preferred this one left as is, because he liked the input = input = input = pattern.
Yes, I will consider this scenario for next time :).
Thanks
Quoted 31 lines
julia
Quoted 8 lines
drivers/staging/speakup/i18n.c +0
-1}/* -- 2.7.4
--
You received this message because you are subscribed to the GoogleGroups "outreachy-kernel" group.
Quoted 1 line
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
Quoted 2 lines
To post to this group, send email to [email protected]. To view this discussion on the web visit
Quoted 2 lines
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected]. To view this discussion on the web visit
https://groups.google.com/d/msgid/outreachy-kernel/alpine.DEB.2.21.1903132031440.2515%40hadrien
.
For more options, visit https://groups.google.com/d/optout.