diff options
| author | Benjamin Li <benli@broadcom.com> | 2008-05-16 22:20:27 -0700 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2008-05-16 22:20:27 -0700 |
| commit | 10343cca2bad3f9fdad214385bed0a9aadf4ffd4 (patch) | |
| tree | df91bca59ccc1316b918935c348e8bcb840ba121 /net/tipc/subscr.c | |
| parent | 601d3d18b2c1e4c197aa3cd902fb77bd99c41f10 (diff) | |
| download | linux-10343cca2bad3f9fdad214385bed0a9aadf4ffd4.tar.gz linux-10343cca2bad3f9fdad214385bed0a9aadf4ffd4.tar.bz2 linux-10343cca2bad3f9fdad214385bed0a9aadf4ffd4.zip | |
bnx2: Pre-initialize struct cpu_reg.
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>
Diffstat (limited to 'net/tipc/subscr.c')
0 files changed, 0 insertions, 0 deletions
