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
remove extra parentheses in return statement
[dpdk.git]
/
app
/
test
/
test_memcpy_perf.c
diff --git
a/app/test/test_memcpy_perf.c
b/app/test/test_memcpy_perf.c
index
f150d8d
..
be69ead
100644
(file)
--- a/
app/test/test_memcpy_perf.c
+++ b/
app/test/test_memcpy_perf.c
@@
-152,8
+152,8
@@
free_buffers(void)
static inline size_t
get_rand_offset(size_t uoffset)
{
static inline size_t
get_rand_offset(size_t uoffset)
{
- return ((
(
rte_rand() % (LARGE_BUFFER_SIZE - SMALL_BUFFER_SIZE)) &
- ~(ALIGNMENT_UNIT - 1)) + uoffset
)
;
+ return ((rte_rand() % (LARGE_BUFFER_SIZE - SMALL_BUFFER_SIZE)) &
+ ~(ALIGNMENT_UNIT - 1)) + uoffset;
}
/* Fill in source and destination addresses. */
}
/* Fill in source and destination addresses. */