Staging: bcm: Fix assignment issue in if statement reported by checkpatch.pl.
authorKevin McKinney <klmckinney1@gmail.com>
Fri, 7 Oct 2011 22:50:12 +0000 (18:50 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 Oct 2011 16:18:21 +0000 (10:18 -0600)
commitd491061b98bf3d2d036b9896f884403cdc2c0327
treec4128f9d7e020c6480dd9dd005cb74049aa56a99
parent9d4f1d0c9d1cf2fc4a73b6fff30aa129b9d1586e
Staging: bcm: Fix assignment issue in if statement reported by checkpatch.pl.

This patch fixes an error where an assignment "="
was being used in an if statement to determine if
Firmware was downloaded. This patch removes that
assignment, and places it above the if statement.
The if statement then evaluates the status to
verify if "0" successful, or != 0 failure.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/bcm/Misc.c