sfc: Avoid assignment in an if-statement, reported by checkpatch
authorBen Hutchings <bhutchings@solarflare.com>
Thu, 5 Jan 2012 18:50:29 +0000 (18:50 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 5 Jan 2012 18:51:32 +0000 (18:51 +0000)
commite9e01846c7e18a3b5682b54e50f1005949737bd9
treee83cd43f2f1f978a04ec745c820d73c945b3bd0e
parent9c636baf8518d0f986004b40669b75506459beac
sfc: Avoid assignment in an if-statement, reported by checkpatch

Fix the following error:

ERROR: do not use assignment in if condition

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/efx.c