mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-20 17:41:09 +00:00
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: Rehas Sachdeva <aquannie@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b29376c31a
commit
71b4de84a0
1 changed files with 1 additions and 1 deletions
|
@ -1176,7 +1176,7 @@ static int __init lynxfb_setup(char *options)
|
|||
else {
|
||||
strcat(tmp, opt);
|
||||
tmp += strlen(opt);
|
||||
if (options != NULL)
|
||||
if (options)
|
||||
*tmp++ = ':';
|
||||
else
|
||||
*tmp++ = 0;
|
||||
|
|
Loading…
Reference in a new issue