Skip to content

Commit 566af33

Browse files
vedangpatel1davem330
authored andcommitted
taprio: Remove inline directive
Remove inline directive from length_to_duration(). We will let the compiler make the decisions. Signed-off-by: Vedang Patel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 037be03 commit 566af33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/sched/sch_taprio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ static struct sk_buff *taprio_peek(struct Qdisc *sch)
168168
return NULL;
169169
}
170170

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

0 commit comments

Comments
 (0)