Skip to content

Commit

Permalink
bnx2x: link cleanup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yuval Mintz authored and David S. Miller committed Jun 23, 2012
1 parent d0b8a6f commit d231023
Showing 1 changed file with 167 additions and 173 deletions.
Loading

0 comments on commit d231023

Please sign in to comment.