Remove invalid assertion.

Holding the adapter lock while changing the LRO settings is sufficient.

PR:		kern/146759
MFC after:	3 days
This commit is contained in:
Navdeep Parhar 2010-05-20 18:22:45 +00:00
parent 6d21d06d6c
commit cb958aba98
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=208356

View File

@ -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);