diff options
author | Sathya Perla <sathya.perla@emulex.com> | 2010-12-01 01:02:28 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-06 12:59:07 -0800 |
commit | 63657b9c319588cd35ed869e19cc6255dbef0d20 (patch) | |
tree | eb7bdfc79b454dd414df161cdc4827c6fa0954ce /drivers/net | |
parent | c56b4d90123b77e29a91b9b96bb791f929139d8e (diff) | |
download | blackbird-op-linux-63657b9c319588cd35ed869e19cc6255dbef0d20.tar.gz blackbird-op-linux-63657b9c319588cd35ed869e19cc6255dbef0d20.zip |
be2net: Fix be_dev_family_check() return value check
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/benet/be_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c index 275428032ce2..ea8cf690a072 100644 --- a/drivers/net/benet/be_main.c +++ b/drivers/net/benet/be_main.c @@ -2901,7 +2901,7 @@ static int __devinit be_probe(struct pci_dev *pdev, pci_set_drvdata(pdev, adapter); status = be_dev_family_check(adapter); - if (!status) + if (status) goto free_netdev; adapter->netdev = netdev; |