[PATCH v2 03/16] Staging: speakup: serialio.c: Remove explicit NULL comparison

2015-09-11 Thread Shraddha Barke
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

[PATCH v2 03/16] Staging: speakup: serialio.c: Remove explicit NULL comparison

2015-09-11 Thread Shraddha Barke
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,