Skip to content

Commit

Permalink
taprio: Remove inline directive
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
vedangpatel1 authored and davem330 committed Jun 28, 2019
1 parent 037be03 commit 566af33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/sched/sch_taprio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 566af33

Please sign in to comment.