aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/qib/qib_verbs.h
diff options
context:
space:
mode:
authorGeorge Spelvin <lkml@sdf.org>2019-03-27 12:55:00 -0400
committerJason Gunthorpe <jgg@mellanox.com>2020-03-29 11:15:16 -0300
commit3e87f4313035c86999281336582ff554e9a17bef (patch)
tree014d99556d7ce1681895184a71dad98b37f55d4b /drivers/infiniband/hw/qib/qib_verbs.h
parentRDMA/hns: Fix uninitialized variable bug (diff)
downloadlinux-dev-3e87f4313035c86999281336582ff554e9a17bef.tar.xz
linux-dev-3e87f4313035c86999281336582ff554e9a17bef.zip
IB/qib: Delete struct qib_ivdev.qp_rnd
I was checking the field to see if it needed the full get_random_bytes() and discovered it's unused. Only compile-tested, as I don't have the hardware, but I'm still pretty confident. Link: https://lore.kernel.org/r/202003281643.02SGh6eG002694@sdf.org Signed-off-by: George Spelvin <lkml@sdf.org> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_verbs.h')
-rw-r--r--drivers/infiniband/hw/qib/qib_verbs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/qib/qib_verbs.h b/drivers/infiniband/hw/qib/qib_verbs.h
index 8bf414b47b96..dc0e81f3b6f4 100644
--- a/drivers/infiniband/hw/qib/qib_verbs.h
+++ b/drivers/infiniband/hw/qib/qib_verbs.h
@@ -177,7 +177,6 @@ struct qib_ibdev {
struct timer_list mem_timer;
struct qib_pio_header *pio_hdrs;
dma_addr_t pio_hdrs_phys;
- u32 qp_rnd; /* random bytes for hash */
u32 n_piowait;
u32 n_txwait;