diff options
author | Nicolas Saenz Julienne <nsaenzjulienne@suse.de> | 2019-05-09 16:31:36 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-20 07:40:42 +0200 |
commit | 023dbe17dd38ae6b9d232e5f6144ce65befbf84d (patch) | |
tree | 64073449624654171f10d4839b477dc647a99acc /drivers/staging/rtl8192u | |
parent | 77cf3f5dcf35c8f547f075213dbc15146d44cc76 (diff) | |
download | lwn-023dbe17dd38ae6b9d232e5f6144ce65befbf84d.tar.gz lwn-023dbe17dd38ae6b9d232e5f6144ce65befbf84d.zip |
staging: vchiq: stop explicitly comparing with zero to catch errors
The vchiq code tends to follow a coding pattern that's not accepted as
per the Linux kernel coding style
We have this:
if (expression != 0)
We want this:
if (expression)
We make an exception if the expression refers to a size, in which case
it's accepted for the sake of clarity.
Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u')
0 files changed, 0 insertions, 0 deletions