cnic: Use union for the status blocks of different devices.
authorMichael Chan <mchan@broadcom.com>
Wed, 24 Feb 2010 14:42:08 +0000 (14:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Feb 2010 10:10:14 +0000 (02:10 -0800)
commita4dde3abbf87a495154a876576e1ab34b17b5ef1
tree0a1faff1e54932ebb616fc5f0e412b187a433e94
parentc76284af9ec8a010c502a70249cb74b3bb69ec6f
cnic: Use union for the status blocks of different devices.

We only need to assign the status block address once and it also saves
space in the structure.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: Eddie Wai <waie@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cnic.c
drivers/net/cnic.h