Staging: bcm: Remove assignment from if conditions reported by checkpatch.pl
authorKevin McKinney <klmckinney1@gmail.com>
Tue, 11 Oct 2011 01:01:49 +0000 (21:01 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 Oct 2011 16:18:57 +0000 (10:18 -0600)
commitca45e70029b3d96923953992c05a2515dd3d9f24
treef74d9675fe0ed27d599f4687c88778209fa5de94
parentf969f84ed92e55040dbf51398ba2d8f5d23bf498
Staging: bcm: Remove assignment from if conditions reported by checkpatch.pl

This patch removes an assignment from three if
conditions.  In all three cases, the line of code was
attempting to allocate memory, and check
if the memory was allocated in the if statement.
This issue was reported by checkpatch.pl.

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