git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
app/testpmd: port info prints dynamically mapped flow types
[dpdk.git]
/
lib
/
librte_sched
/
rte_approx.c
diff --git
a/lib/librte_sched/rte_approx.c
b/lib/librte_sched/rte_approx.c
index
771c951
..
739f37d
100644
(file)
--- a/
lib/librte_sched/rte_approx.c
+++ b/
lib/librte_sched/rte_approx.c
@@
-50,13
+50,13
@@
static inline uint32_t
less(uint32_t a, uint32_t b, uint32_t c, uint32_t d)
{
static inline uint32_t
less(uint32_t a, uint32_t b, uint32_t c, uint32_t d)
{
- return
(a*d < b*c)
;
+ return
a*d < b*c
;
}
static inline uint32_t
less_or_equal(uint32_t a, uint32_t b, uint32_t c, uint32_t d)
{
}
static inline uint32_t
less_or_equal(uint32_t a, uint32_t b, uint32_t c, uint32_t d)
{
- return
(a*d <= b*c)
;
+ return
a*d <= b*c
;
}
/* check whether a/b is a valid approximation */
}
/* check whether a/b is a valid approximation */