Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3565b66d authored by Yuval Mintz's avatar Yuval Mintz Committed by David S. Miller
Browse files

bnx2x: Remove unused iov code

parent 76ca70fa
Loading
Loading
Loading
Loading
+0 −10
Original line number Original line Diff line number Diff line
@@ -3075,16 +3075,6 @@ static inline void bnx2x_vf_get_sbdf(struct bnx2x *bp,
	*sbdf = vf->devfn | (vf->bus << 8);
	*sbdf = vf->devfn | (vf->bus << 8);
}
}


static inline void bnx2x_vf_get_bars(struct bnx2x *bp, struct bnx2x_virtf *vf,
		       struct bnx2x_vf_bar_info *bar_info)
{
	int n;

	bar_info->nr_bars = bp->vfdb->sriov.nres;
	for (n = 0; n < bar_info->nr_bars; n++)
		bar_info->bars[n] = vf->bars[n];
}

void bnx2x_lock_vf_pf_channel(struct bnx2x *bp, struct bnx2x_virtf *vf,
void bnx2x_lock_vf_pf_channel(struct bnx2x *bp, struct bnx2x_virtf *vf,
			      enum channel_tlvs tlv)
			      enum channel_tlvs tlv)
{
{