summaryrefslogtreecommitdiffstats
path: root/drivers/net/enic/vnic_wq.c
diff options
context:
space:
mode:
authorVasanthy Kolluri <vkolluri@cisco.com>2010-06-24 10:52:08 +0000
committerDavid S. Miller <davem@davemloft.net>2010-06-25 20:50:25 -0700
commit506e1198413d28446f9a98792b2b38b6bf5f8295 (patch)
treee86d4441f76ae2424128261a6df65a0256257dc6 /drivers/net/enic/vnic_wq.c
parent1825aca667196f75b193e2d509ea96ffdc8db0ca (diff)
downloadlinux-506e1198413d28446f9a98792b2b38b6bf5f8295.tar.gz
linux-506e1198413d28446f9a98792b2b38b6bf5f8295.tar.bz2
linux-506e1198413d28446f9a98792b2b38b6bf5f8295.zip
enic: Bug Fix: Handle surprise hardware removals
Handle surprise hardware removals gracefully during devcmd issue and init, cleanup of queues. Signed-off-by: Scott Feldman <scofeldm@cisco.com> Signed-off-by: Vasanthy Kolluri <vkolluri@cisco.com> Signed-off-by: Roopa Prabhu <roprabhu@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/enic/vnic_wq.c')
-rw-r--r--drivers/net/enic/vnic_wq.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/enic/vnic_wq.c b/drivers/net/enic/vnic_wq.c
index 6c4d4f7f100f..3ab7fa5501cd 100644
--- a/drivers/net/enic/vnic_wq.c
+++ b/drivers/net/enic/vnic_wq.c
@@ -178,8 +178,6 @@ void vnic_wq_clean(struct vnic_wq *wq,
{
struct vnic_wq_buf *buf;
- BUG_ON(ioread32(&wq->ctrl->enable));
-
buf = wq->to_clean;
while (vnic_wq_desc_used(wq) > 0) {