On Fri, Apr 5, 2019 at 1:27 AM Jason Gunthorpe <jgg@xxxxxxxx> wrote: > > From: Jason Gunthorpe <jgg@xxxxxxxxxxxx> > > Drivers that never change their ndev dynamically do not need to use > the get_netdev callback. > > Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx> > --- > drivers/infiniband/hw/bnxt_re/ib_verbs.c | 15 ---------- > drivers/infiniband/hw/bnxt_re/ib_verbs.h | 2 -- > drivers/infiniband/hw/bnxt_re/main.c | 6 +++- > drivers/infiniband/hw/hns/hns_roce_main.c | 30 +++++++------------ > drivers/infiniband/hw/ocrdma/ocrdma_main.c | 8 ++++- > drivers/infiniband/hw/ocrdma/ocrdma_verbs.c | 18 ----------- > drivers/infiniband/hw/ocrdma/ocrdma_verbs.h | 1 - > drivers/infiniband/hw/qedr/main.c | 19 +++--------- > .../infiniband/hw/vmw_pvrdma/pvrdma_main.c | 24 ++++----------- > 9 files changed, 31 insertions(+), 92 deletions(-) For bnxt_re and ocrdma. Acked-by: Selvin Xavier <selvin.xavier@xxxxxxxxxxxx> Thanks, Selvin Xavier