From cb958aba986c1a52b8cc12a4f0549a28bdd1be9c Mon Sep 17 00:00:00 2001 From: Navdeep Parhar Date: Thu, 20 May 2010 18:22:45 +0000 Subject: [PATCH] Remove invalid assertion. Holding the adapter lock while changing the LRO settings is sufficient. PR: kern/146759 MFC after: 3 days --- sys/dev/cxgb/cxgb_main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/dev/cxgb/cxgb_main.c b/sys/dev/cxgb/cxgb_main.c index 13fed449fa7e..4dcc99710b3b 100644 --- a/sys/dev/cxgb/cxgb_main.c +++ b/sys/dev/cxgb/cxgb_main.c @@ -1979,7 +1979,6 @@ cxgb_set_lro(struct port_info *p, int enabled) struct adapter *adp = p->adapter; struct sge_qset *q; - PORT_LOCK_ASSERT_OWNED(p); for (i = 0; i < p->nqsets; i++) { q = &adp->sge.qs[p->first_qset + i]; q->lro.enabled = (enabled != 0);