diff options
author | Rehas Sachdeva <aquannie@gmail.com> | 2016-09-16 03:02:42 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-16 09:49:56 +0200 |
commit | 71b4de84a0ef8b495da3d3ca884e3e601b05af1b (patch) | |
tree | a163a7dfb2c83aded9be5dd0222c20ccd68edeae /drivers/staging/sm750fb | |
parent | b29376c31aaade2e28a79722c680f7c60500af48 (diff) | |
download | linux-stable-71b4de84a0ef8b495da3d3ca884e3e601b05af1b.tar.gz linux-stable-71b4de84a0ef8b495da3d3ca884e3e601b05af1b.tar.bz2 linux-stable-71b4de84a0ef8b495da3d3ca884e3e601b05af1b.zip |
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>
Diffstat (limited to 'drivers/staging/sm750fb')
-rw-r--r-- | drivers/staging/sm750fb/sm750.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c index 6ed004e40855..7d90e250142c 100644 --- a/drivers/staging/sm750fb/sm750.c +++ b/drivers/staging/sm750fb/sm750.c @@ -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; |