aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/vmw_pvrdma/pvrdma.h
diff options
context:
space:
mode:
authorAdit Ranadive <aditr@vmware.com>2017-02-22 17:22:56 -0800
committerDoug Ledford <dledford@redhat.com>2017-03-24 20:49:53 -0400
commit6332dee83d8eab80d6d502cc51135b998fe6df79 (patch)
tree49e7c34001a4180ed20cf8649b52d0c33ec6b6c7 /drivers/infiniband/hw/vmw_pvrdma/pvrdma.h
parentinfiniband: Fix alignment of mmap cookies to support VIPT caching (diff)
downloadlinux-dev-6332dee83d8eab80d6d502cc51135b998fe6df79.tar.xz
linux-dev-6332dee83d8eab80d6d502cc51135b998fe6df79.zip
RDMA/vmw_pvrdma: Cleanup unused variables
Removed the unused nreq and redundant index variables. Moved hardcoded async and cq ring pages number to macro. Reported-by: Yuval Shaia <yuval.shaia@oracle.com> Signed-off-by: Adit Ranadive <aditr@vmware.com> Reviewed-by: Aditya Sarwade <asarwade@vmware.com> Tested-by: Andrew Boyer <andrew.boyer@dell.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/vmw_pvrdma/pvrdma.h')
-rw-r--r--drivers/infiniband/hw/vmw_pvrdma/pvrdma.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/vmw_pvrdma/pvrdma.h b/drivers/infiniband/hw/vmw_pvrdma/pvrdma.h
index 3cd96c1b9502..dbf61c37835c 100644
--- a/drivers/infiniband/hw/vmw_pvrdma/pvrdma.h
+++ b/drivers/infiniband/hw/vmw_pvrdma/pvrdma.h
@@ -69,6 +69,8 @@
*/
#define PCI_DEVICE_ID_VMWARE_PVRDMA 0x0820
+#define PVRDMA_NUM_RING_PAGES 4
+
struct pvrdma_dev;
struct pvrdma_page_dir {