Skip to content

Remove unused variables

Haneen Mohammed outreachy 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Remove unused variables

This patchset is concerned with removing variable that was used only to store the return value of a function. These issues were detected and resolved using the following coccinelle script:

@@
expression ret;
identifier f;
@@

-ret =
+return
f(...);
-return ret;

Haneen Mohammed (2):
Staging: dgap: Remove unused variable
Staging: speakup: Remove unused variable

 drivers/staging/dgap/dgap.c        | 4 +---
 drivers/staging/speakup/kobjects.c | 4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)
Signature · 1 line
1.9.1