]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: link cleanup
authorYuval Mintz <yuvalmin@broadcom.com>
Wed, 20 Jun 2012 19:05:19 +0000 (19:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 Jun 2012 00:20:32 +0000 (17:20 -0700)
commita9d0e7903777f6c927589ce64bb2a40e8011e7a0
treea26da7102042d2fd69545afca22efed1a2821743
parent5938999797e78927d1b3fbcf0be739c3e95c24d3
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>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c