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
lib: remove unnecessary void cast
[dpdk.git]
/
lib
/
librte_net
/
rte_net_crc.c
diff --git
a/lib/librte_net/rte_net_crc.c
b/lib/librte_net/rte_net_crc.c
index
72efe20
..
e8326fe
100644
(file)
--- a/
lib/librte_net/rte_net_crc.c
+++ b/
lib/librte_net/rte_net_crc.c
@@
-185,7
+185,7
@@
rte_net_crc_calc(const void *data,
rte_net_crc_handler f_handle;
f_handle = handlers[type];
- ret = f_handle(
(const uint8_t *)
data, data_len);
+ ret = f_handle(data, data_len);
return ret;
}