mlx5en: Remove unused pdev pointer.

Sponsored by:	Mellanox Technologies
MFC after:	1 week
This commit is contained in:
hselasky 2016-09-16 11:55:38 +00:00
parent 8071bc2f2b
commit ca67d9f237
2 changed files with 0 additions and 6 deletions

View File

@ -467,7 +467,6 @@ struct mlx5e_rq {
bus_dma_tag_t dma_tag;
u32 wqe_sz;
struct mlx5e_rq_mbuf *mbuf;
struct device *pdev;
struct ifnet *ifp;
struct mlx5e_rq_stats stats;
struct mlx5e_cq cq;
@ -532,7 +531,6 @@ struct mlx5e_sq {
struct ifnet *ifp;
u32 sqn;
u32 bf_buf_size;
struct device *pdev;
u32 mkey_be;
/* control path */
@ -553,7 +551,6 @@ struct mlx5e_channel {
/* data path */
struct mlx5e_rq rq;
struct mlx5e_sq sq[MLX5E_MAX_TX_NUM_TC];
struct device *pdev;
struct ifnet *ifp;
u32 mkey_be;
u8 num_tc;

View File

@ -674,7 +674,6 @@ mlx5e_create_rq(struct mlx5e_channel *c,
wqe->data.byte_count = cpu_to_be32(byte_count | MLX5_HW_START_PADDING);
}
rq->pdev = c->pdev;
rq->ifp = c->ifp;
rq->channel = c;
rq->ix = c->ix;
@ -962,7 +961,6 @@ mlx5e_create_sq(struct mlx5e_channel *c,
if (err)
goto err_sq_wq_destroy;
sq->pdev = c->pdev;
sq->mkey_be = c->mkey_be;
sq->ifp = priv->ifp;
sq->priv = priv;
@ -1486,7 +1484,6 @@ mlx5e_open_channel(struct mlx5e_priv *priv, int ix,
c->priv = priv;
c->ix = ix;
c->cpu = 0;
c->pdev = &priv->mdev->pdev->dev;
c->ifp = priv->ifp;
c->mkey_be = cpu_to_be32(priv->mr.key);
c->num_tc = priv->num_tc;