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
net/cxgbe: remove unnecessary cast
[dpdk.git]
/
drivers
/
net
/
cxgbe
/
base
/
adapter.h
diff --git
a/drivers/net/cxgbe/base/adapter.h
b/drivers/net/cxgbe/base/adapter.h
index
1221664
..
e548f9f
100644
(file)
--- a/
drivers/net/cxgbe/base/adapter.h
+++ b/
drivers/net/cxgbe/base/adapter.h
@@
-368,7
+368,7
@@
static inline void t4_os_write_unlock(rte_rwlock_t *lock)
*/
static inline struct port_info *ethdev2pinfo(const struct rte_eth_dev *dev)
{
- return
(struct port_info *)
dev->data->dev_private;
+ return dev->data->dev_private;
}
/**