diff options
author | Jon Mason <jdmason@kudzu.us> | 2013-09-11 11:22:39 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-13 20:13:00 -0400 |
commit | 29ed74c35088a775807743a5c84eecf6efa85d9f (patch) | |
tree | ef8b6b3e22cb04b7404ce343c3cf4866b67627ae /drivers/net/ethernet/broadcom/bnx2x/bnx2x.h | |
parent | c3eb7a771dcd2b27c02f4711545ac6785f66afc5 (diff) |
bnx2x: Use pci_dev pm_cap
Use the already existing pm_cap variable in struct pci_dev for
determining the power management offset. This saves the driver from
having to keep track of an extra variable.
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Cc: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h index 0c338026ce0..70b6a05834d 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h @@ -1542,7 +1542,6 @@ struct bnx2x { */ bool fcoe_init; - int pm_cap; int mrrs; struct delayed_work sp_task; |