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

Commit e41e2824 authored by Hariprasad Shenai's avatar Hariprasad Shenai Committed by David S. Miller
Browse files

cxgb4: Use symbolic constant for VLAN priority calculation

parent 301c141d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ struct l2t_data {

static inline unsigned int vlan_prio(const struct l2t_entry *e)
{
	return e->vlan >> 13;
	return e->vlan >> VLAN_PRIO_SHIFT;
}

static inline void l2t_hold(struct l2t_data *d, struct l2t_entry *e)