Skip to content

Commit d9fe409

Browse files
Eli Cohenrolandd
authored andcommitted
IB/mlx5: Remove unused code in mr.c
The variable start in struct mlx5_ib_mr is never used. Remove it. Signed-off-by: Eli Cohen <[email protected]> Signed-off-by: Roland Dreier <[email protected]>
1 parent 7e22e91 commit d9fe409

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

drivers/infiniband/hw/mlx5/mlx5_ib.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,6 @@ struct mlx5_ib_mr {
264264
enum ib_wc_status status;
265265
struct mlx5_ib_dev *dev;
266266
struct mlx5_create_mkey_mbox_out out;
267-
unsigned long start;
268267
};
269268

270269
struct mlx5_ib_fast_reg_page_list {

drivers/infiniband/hw/mlx5/mr.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ static int add_keys(struct mlx5_ib_dev *dev, int c, int num)
146146
spin_lock_irq(&ent->lock);
147147
ent->pending++;
148148
spin_unlock_irq(&ent->lock);
149-
mr->start = jiffies;
150149
err = mlx5_core_create_mkey(&dev->mdev, &mr->mmr, in,
151150
sizeof(*in), reg_mr_callback,
152151
mr, &mr->out);

0 commit comments

Comments
 (0)