taprio: Remove inline directive
authorVedang Patel <vedang.patel@intel.com>
Tue, 25 Jun 2019 22:07:16 +0000 (15:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Jun 2019 21:45:34 +0000 (14:45 -0700)
Remove inline directive from length_to_duration(). We will let the compiler
make the decisions.

Signed-off-by: Vedang Patel <vedang.patel@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_taprio.c

index a41d7d4434eedddd7580a3a545ae144ed7ebc5b8..6ef0cc03fdb9387ce37c52c3711b31dbbe1083c2 100644 (file)
@@ -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);
 }