Commit 71b4de84 authored by Rehas Sachdeva's avatar Rehas Sachdeva Committed by Greg Kroah-Hartman

staging: sm750fb: Change 'x != NULL' to 'x'

Changes the explicit comparison to NULL from 'x != NULL' to 'x'. Issue detected
by checkpatch.
Signed-off-by: default avatarRehas Sachdeva <aquannie@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b29376c3
...@@ -1176,7 +1176,7 @@ static int __init lynxfb_setup(char *options) ...@@ -1176,7 +1176,7 @@ static int __init lynxfb_setup(char *options)
else { else {
strcat(tmp, opt); strcat(tmp, opt);
tmp += strlen(opt); tmp += strlen(opt);
if (options != NULL) if (options)
*tmp++ = ':'; *tmp++ = ':';
else else
*tmp++ = 0; *tmp++ = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment