Author: Shraddha Barke <shraddha.6596@gmail.com> Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke Signed-off-by: Greg Kroah-Hartman — drivers/staging/rtl8188eu/os_dep/mlme_linux.c | 4 ++– 1 file changed, 2 insertions(+), 2 deletions(-) diff –git a/drivers/staging/rtl8188eu/os_dep/mlme_linux.c b/drivers/staging/rtl8188eu/os_dep/mlme_linux.c index 218adaa..eb8ecb7 100644 — …
Catégorie : Linux
Sep 11 2015
Staging: rtl8188eu: os_dep: recv_linux.c: Remove explicit NULL comparison
Author: Shraddha Barke <shraddha.6596@gmail.com> Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke Signed-off-by: Greg Kroah-Hartman — drivers/staging/rtl8188eu/os_dep/recv_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff –git a/drivers/staging/rtl8188eu/os_dep/recv_linux.c b/drivers/staging/rtl8188eu/os_dep/recv_linux.c index 3ebb8b2..d4734baf 100644 — …
Sep 11 2015
Staging: rtl8188eu: hal: rtl8188eu_xmit.c: Remove explicit NULL comparison
Author: Shraddha Barke <shraddha.6596@gmail.com> Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke Signed-off-by: Greg Kroah-Hartman — drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff –git a/drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c b/drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c index 594c1da..4433560 100644 — …
Sep 11 2015
Staging: rtl8188eu: hal: Hal8188ERateAdaptive.c: Remove explicit NULL comparison
Author: Shraddha Barke <shraddha.6596@gmail.com> Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke Signed-off-by: Greg Kroah-Hartman — drivers/staging/rtl8188eu/hal/Hal8188ERateAdaptive.c | 14 +++++++——- 1 file changed, 7 insertions(+), 7 deletions(-) diff –git a/drivers/staging/rtl8188eu/hal/Hal8188ERateAdaptive.c b/drivers/staging/rtl8188eu/hal/Hal8188ERateAdaptive.c index 2633a13..a108e80 100644 — …
Sep 11 2015
Staging: rtl8188eu: hal: Remove explicit NULL comparison
Author: Shraddha Barke <shraddha.6596@gmail.com> Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke Signed-off-by: Greg Kroah-Hartman — drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff –git a/drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c b/drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c index 06d1e65..d6d009a 100644 — …
Sep 11 2015
Staging: rtl8188eu: Remove explicit NULL comparison
Author: Shraddha Barke <shraddha.6596@gmail.com> Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke Signed-off-by: Greg Kroah-Hartman — drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c | 4 ++– 1 file changed, 2 insertions(+), 2 deletions(-) diff –git a/drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c b/drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c index 0a62bfa..d528140 100644 — …
Sep 11 2015
Staging: rtl8188eu: core: Remove explicit NULL comparison
Author: Shraddha Barke <shraddha.6596@gmail.com> Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke Signed-off-by: Greg Kroah-Hartman — drivers/staging/rtl8188eu/core/rtw_sta_mgt.c | 6 +++— 1 file changed, 3 insertions(+), 3 deletions(-) diff –git a/drivers/staging/rtl8188eu/core/rtw_sta_mgt.c b/drivers/staging/rtl8188eu/core/rtw_sta_mgt.c index b340e4a..497fb06 100644 — …
Sep 10 2015
Staging: comedi: Prefer using the BIT macro
Author: Shraddha Barke <shraddha.6596@gmail.com> This patch replaces bit shifting on 1 with the BIT(x) macro This was done with coccinelle: @@ int g; @@ -(1
Sep 10 2015
Staging: lustre: ptlrpc: Prefer using the BIT macro
Author: Shraddha Barke <shraddha.6596@gmail.com> This patch replaces bit shifting on 1 with the BIT(x) macro This was done with coccinelle: @@ int g; @@ -(1
Sep 10 2015
Staging: iio: cdc: Prefer using the BIT macro
Author: Shraddha Barke <shraddha.6596@gmail.com> This patch replaces bit shifting on 1 with the BIT(x) macro This was done with coccinelle: @@ int g; @@ -(1