bnx2: Pre-initialize struct cpu_reg.
authorBenjamin Li <benli@broadcom.com>
Sat, 17 May 2008 05:20:27 +0000 (22:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 May 2008 05:20:27 +0000 (22:20 -0700)
Instead of assigning values for the struct cpu_reg's at runtime,
we already know these values at compile time.  Therefore, we can use
designated initializers, to initialize these structures and not have
to incur this assignment cost at run-time.

Signed-off-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found