Staging: bcm: Remove assignment in if condition reported by checkpatch.pl
authorKevin McKinney <klmckinney1@gmail.com>
Fri, 7 Oct 2011 22:50:11 +0000 (18:50 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 Oct 2011 16:18:21 +0000 (10:18 -0600)
commit9d4f1d0c9d1cf2fc4a73b6fff30aa129b9d1586e
treed2ecf165c4357486b04b8f223eb3f84a44f4fe11
parenta8a1cdd6d4daeeb7a8016fbaa2cb79f37b14ea9a
Staging: bcm: Remove assignment in if condition reported by checkpatch.pl

There is a case where an assignment was being done
in an if condition. This patch removes the assignment
from the if condition and places the assignment above
the if statement; thereby improving the readability of
the code.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/bcm/Misc.c
This page took 0.030768 seconds and 5 git commands to generate.