Browse Source

bnx2x: link cleanup

This patch does several things:
 1. Add static to function when possible.
 2. Correct comments.
 3. Change msleep(small) --> usleep_range(small, small*2).
    Also correct existing calls to usleep_range.
 4. Remove dead code.
 5. Change 'if(rc != 0)' --> if(rc)

Most of these changes are purely semantic.

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Yaniv Rosner <yaniv.rosner@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Yuval Mintz 13 years ago
parent
commit
d231023eb1
1 changed files with 130 additions and 136 deletions
  1. 130 136
      drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c

File diff suppressed because it is too large
+ 130 - 136
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c


Some files were not shown because too many files changed in this diff