OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
037be03
)
taprio: Remove inline directive
author
Vedang Patel
<vedang.patel@intel.com>
Tue, 25 Jun 2019 22:07:16 +0000
(15:07 -0700)
committer
David 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
patch
|
blob
|
history
diff --git
a/net/sched/sch_taprio.c
b/net/sched/sch_taprio.c
index
a41d7d4
..
6ef0cc0
100644
(file)
--- a/
net/sched/sch_taprio.c
+++ b/
net/sched/sch_taprio.c
@@
-168,7
+168,7
@@
static struct sk_buff *taprio_peek(struct Qdisc *sch)
return NULL;
}
-static in
line in
t 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);
}