Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> This patch removes a variable that was simply used to store the return value of a function call before returning it. The issue was detected and resolved using the following coccinelle script: @@ identifier len,f; @@ -int len; … when != len when strict -len = +return f(…); -return len; Signed-off-by: …
Category: Linux
Feb 27 2015
staging: lustre: mgc: remove unused variable
Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> This patch removes a variable that was simply used to store the return value of a function call before returning it. The issue was detected and resolved using the following coccinelle script: @@ identifier len,f; @@ -int len; … when != len when strict -len = +return f(…); -return len; Signed-off-by: …
Feb 27 2015
staging: lustre: obdclass: remove unused variable
Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> This patch removes a variable that was simply used to store the return value of a function call before returning it. The issue was detected and resolved using the following coccinelle script: @@ identifier len,f; @@ -int len; … when != len when strict -len = +return f(…); -return len; Signed-off-by: …
Feb 27 2015
staging: lustre: obdclass: remove unused variable
Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> This patch removes a variable that was simply used to store the return value of a function call before returning it. The issue was detected and resolved using the following coccinelle script: @@ identifier len,f; @@ -int len; … when != len when strict -len = +return f(…); -return len; Signed-off-by: …
Feb 27 2015
staging: lustre: obdecho: remove unused variable
Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> This patch removes a variable that was simply used to store the return value of a function call before returning it. The issue was detected and resolved using the following coccinelle script: @@ identifier len,f; @@ -int len; … when != len when strict -len = +return f(…); -return len; Signed-off-by: …
Feb 27 2015
staging: lustre: osc: remove unused variable
Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> This patch removes a variable that was simply used to store the return value of a function call before returning it. The issue was detected and resolved using the following coccinelle script: @@ identifier len,f; @@ -int len; … when != len when strict -len = +return f(…); -return len; Signed-off-by: …
Feb 27 2015
staging: lustre: ptlrpc: remove unused variable
Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> This patch removes a variable that was simply used to store the return value of a function call before returning it. The issue was detected and resolved using the following coccinelle script: @@ identifier len,f; @@ -int len; … when != len when strict -len = +return f(…); -return len; Signed-off-by: …
Feb 27 2015
staging: rtl8188eu: os_dep: remove unused variable
Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> This patch removes a variable that was simply used to store the return value of a function call before returning it. The issue was detected and resolved using the following coccinelle script: @@ identifier len,f; @@ -int len; … when != len when strict -len = +return f(…); -return len; Signed-off-by: …
Feb 27 2015
staging: vt6655: remove unused variable
Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> This patch removes a variable that was simply used to store the return value of a function call before returning it. The issue was detected and resolved using the following coccinelle script: @@ identifier len,f; @@ -int len; … when != len when strict -len = +return f(…); -return len; Signed-off-by: …
Feb 27 2015
staging: wlan-ng: remove unused variable
Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> This patch removes variables that were simply used to store the return value of a function call before returning it. The issue was detected and resolved using the following coccinelle script: @@ identifier len,f; @@ -int len; … when != len when strict -len = +return f(…); -return len; Signed-off-by: Aya …