]> git.baikalelectronics.ru Git - kernel.git/commit
staging:rtl8192u: Replace magic number with defined constant - Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Fri, 17 Aug 2018 18:34:38 +0000 (19:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Aug 2018 17:22:39 +0000 (19:22 +0200)
commite14ac1f892cae1f72c2f33d04f9ee5c436b7b303
tree64e1ff67ca2102925a9415b63e4bb097460ff328
parentba69c8703570913fd7393dc003b11e5ec2d3caf7
staging:rtl8192u: Replace magic number with defined constant - Style

The defined constant MIMO_PS_STATIC is used for this test for zero
elsewhere in code so the magic number '0' has been replaced with that
comment, which was actually explicitly mentioned in the comment.

This is a simple coding style change which should have no impact on
runtime code execution.

Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U_core.c