diff options
author | Peter Hagervall <hager@cs.umu.se> | 2005-08-10 14:18:16 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 15:56:43 -0700 |
commit | 14ab9b867aa6c107b4886bdc5b23f277ab10792e (patch) | |
tree | dec16a22fe4e18c1de63256454f5a0810ce17379 /drivers/tc | |
parent | 07dc3f0718d2c88c3094a0aadeeb4744effc5439 (diff) |
[BNX2]: Possible sparse fixes, take two
This patch contains the following possible cleanups/fixes:
- use C99 struct initializers
- make a few arrays and structs static
- remove a few uses of literal 0 as NULL pointer
- use convenience function instead of cast+dereference in bnx2_ioctl()
- remove superfluous casts to u8 * in calls to readl/writel
Signed-off-by: Peter Hagervall <hager@cs.umu.se>
Acked-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/tc')
0 files changed, 0 insertions, 0 deletions