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
---
Change in v2-
No change
drivers/staging/speakup/serialio.c | 4 ++--
1 file changed, 2 insertions(+), 2
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
---
Change in v2-
No change
drivers/staging/speakup/serialio.c | 4 ++--
1 file changed,
2 matches
Mail list logo