From: David Miller <da...@davemloft.net> Date: Mon, 18 Dec 2017 15:13:54 -0500 (EST)
> From: Bjorn Helgaas <helg...@kernel.org> > Date: Fri, 15 Dec 2017 17:03:01 -0600 > >> From: Bjorn Helgaas <bhelg...@google.com> >> >> The QED_RDMA_DEV_CAP_* symbols are only used to set bits in dev->dev_caps. >> Nobody ever looks at those bits. Remove the symbols and dev_caps itself. >> >> Note that if these are ever used and added back, it looks incorrect to set >> QED_RDMA_DEV_CAP_ATOMIC_OP based on PCI_EXP_DEVCTL2_LTR_EN. LTR is the >> Latency Tolerance Reporting mechanism, which has nothing to do with Atomic >> Ops. >> >> No functional change intended. >> >> Signed-off-by: Bjorn Helgaas <bhelg...@google.com> > > Applied to net-next. Actually, this doesn't build, reverted: drivers/infiniband/hw/qedr/main.c: In function ‘qedr_set_device_attr’: drivers/infiniband/hw/qedr/main.c:682:27: error: ‘struct qed_rdma_device’ has no member named ‘dev_caps’ attr->dev_caps = qed_attr->dev_caps;