net/enic: remove unnecessary cast
The device private pointer (dev_private) is of type void * therefore no cast is necessary in C. Cc: stable@dpdk.org Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
parent
890728ff21
commit
69b16b36b0
@ -252,7 +252,7 @@ static inline unsigned int enic_cq_wq(struct enic *enic, unsigned int wq)
|
||||
|
||||
static inline struct enic *pmd_priv(struct rte_eth_dev *eth_dev)
|
||||
{
|
||||
return (struct enic *)eth_dev->data->dev_private;
|
||||
return eth_dev->data->dev_private;
|
||||
}
|
||||
|
||||
static inline uint32_t
|
||||
|
Loading…
Reference in New Issue
Block a user