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

Commit 566af331 authored by Vedang Patel's avatar Vedang Patel Committed by David S. Miller
Browse files

taprio: Remove inline directive



Remove inline directive from length_to_duration(). We will let the compiler
make the decisions.

Signed-off-by: default avatarVedang Patel <vedang.patel@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 037be037
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -168,7 +168,7 @@ static struct sk_buff *taprio_peek(struct Qdisc *sch)
	return NULL;
}

static inline int length_to_duration(struct taprio_sched *q, int len)
static int length_to_duration(struct taprio_sched *q, int len)
{
	return div_u64(len * atomic64_read(&q->picos_per_byte), 1000);
}