linux_dsm_epyc7002/drivers/infiniband/hw/nes
Bart Van Assche 59b851dbf7 RDMA/nes: Avoid complaints about unused variables
Avoid that the compiler reports the following when building with W=1:

drivers/infiniband/hw/nes/nes_utils.c: In function 'nes_arp_table':
drivers/infiniband/hw/nes/nes_utils.c:689:9: warning: variable 'tmp_addr' set but not used [-Wunused-but-set-variable]
  __be32 tmp_addr;
         ^~~~~~~~
drivers/infiniband/hw/nes/nes_hw.c: In function 'flush_wqes':
drivers/infiniband/hw/nes/nes_hw.c:3840:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
  int ret;
      ^~~
drivers/infiniband/hw/nes/nes_verbs.c: In function 'nes_setup_virt_qp':
drivers/infiniband/hw/nes/nes_verbs.c:811:6: warning: variable 'pbl_entries' set but not used [-Wunused-but-set-variable]
  u32 pbl_entries;
      ^~~~~~~~~~~
drivers/infiniband/hw/nes/nes_verbs.c: In function 'nes_dereg_mr':
drivers/infiniband/hw/nes/nes_verbs.c:2487:6: warning: variable 'minor_code' set but not used [-Wunused-but-set-variable]
  u16 minor_code;
      ^~~~~~~~~~
drivers/infiniband/hw/nes/nes_cm.c: In function 'mini_cm_recv_pkt':
drivers/infiniband/hw/nes/nes_cm.c:2570:20: warning: variable 'tmp_saddr' set but not used [-Wunused-but-set-variable]
  __be32 tmp_daddr, tmp_saddr;
                    ^~~~~~~~~
drivers/infiniband/hw/nes/nes_cm.c:2570:9: warning: variable 'tmp_daddr' set but not used [-Wunused-but-set-variable]
  __be32 tmp_daddr, tmp_saddr;
         ^~~~~~~~~
drivers/infiniband/hw/nes/nes_cm.c: In function 'cm_event_connected':
drivers/infiniband/hw/nes/nes_cm.c:3578:22: warning: variable 'raddr' set but not used [-Wunused-but-set-variable]
  struct sockaddr_in *raddr;
                      ^~~~~
drivers/infiniband/hw/nes/nes_cm.c: In function 'cm_event_reset':
drivers/infiniband/hw/nes/nes_cm.c:3753:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
  int ret;
      ^~~

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Faisal Latif <faisal.latif@intel.com>
Cc: Tatyana Nikolova <Tatyana.E.Nikolova@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-07-10 21:01:29 -06:00
..
Kconfig RDMA/nes: Replace LRO with GRO 2016-02-29 17:11:57 -05:00
Makefile
nes_cm.c nes: Change accelerated flag to bool 2017-12-22 13:33:30 -07:00
nes_cm.h nes: Change accelerated flag to bool 2017-12-22 13:33:30 -07:00
nes_context.h RDMA/nes: Copyright update 2012-01-30 16:18:07 -08:00
nes_hw.c RDMA/nes: Avoid complaints about unused variables 2018-07-10 21:01:29 -06:00
nes_hw.h RDMA/nes: Convert timers to use timer_setup() 2017-10-09 12:19:41 -04:00
nes_mgt.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
nes_mgt.h RDMA/nes: Copyright update 2012-01-30 16:18:07 -08:00
nes_nic.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
nes_utils.c Merge branch 'timer_setup' into for-next 2017-10-18 13:12:09 -04:00
nes_verbs.c IB/core: add max_send_sge and max_recv_sge attributes 2018-06-18 13:17:28 -06:00
nes_verbs.h RDMA/nes: Adding queue drain functions 2016-05-13 19:39:59 -04:00
nes.c IB/nes: Fix a race condition in nes_inetaddr_event() 2017-10-14 20:47:07 -04:00
nes.h RDMA/nes: Avoid complaints about unused variables 2018-07-10 21:01:29 -06:00