Staging: rtl8187se: Remove card8185 variable to simplify flow
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 9 Nov 2009 16:53:20 +0000 (10:53 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 20:23:20 +0000 (12:23 -0800)
commitd44eb889ccf80e417794963e57cc40bd1519e554
tree3f5dc7beb1dd9fd06e61a7c35ae289174a128f95
parentbbc9a9916bc1cd997f3bf303e7930d5f3c804d37
Staging: rtl8187se: Remove card8185 variable to simplify flow

When this code is used for the rtl8187se, the value of card_8185
in struct r8180_priv is always 7 or 8. As a result, the program
flow can be simplified.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Tested-by: Bernhard Schiffner <bernhard@schiffner-limbach.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8187se/r8180.h
drivers/staging/rtl8187se/r8180_core.c
drivers/staging/rtl8187se/r8180_dm.c
drivers/staging/rtl8187se/r8180_rtl8225z2.c
drivers/staging/rtl8187se/r8185b_init.c