Commit 64f605c7 authored by Neil Horman's avatar Neil Horman Committed by David S. Miller

bnx2: Clean up remaining iounmap

commit c0357e97 modified bnx2 to switch from
using ioremap/iounmap to pci_iomap/pci_iounmap.  They missed a spot in the error
path of bnx2_init_one though.  This patch just cleans that up.
Signed-off-by: default avatarNeil Horman <>
CC: Michael Chan <>
CC: "David S. Miller" <>
Acked-by: default avatarMichael Chan <>
Signed-off-by: default avatarDavid S. Miller <>
parent b629820d
......@@ -8564,7 +8564,7 @@ bnx2_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
return 0;
pci_iounmap(pdev, bp->regview);
pci_set_drvdata(pdev, NULL);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment