OpenCloudOS-Kernel/drivers/infiniband/hw/cxgb3
Colin Ian King 3e4d6f91ca RDMA/cxgb3: remove redundant first assignement of sqp
sqp is being initialised when it is being declared and then updated
a little later on making the first initialization redundant. Clean
this up by initializing ptr and sqp at their declaration.

Cleans up warning: "warning: Value stored to 'sqp' during its
initialization is never read"

Fixes: a58e58fafd ("RDMA/cxgb3: Wrap the software send queue pointer as needed on flush")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-09-27 08:54:19 -04:00
..
Kconfig IB/{cxgb3,cxgb4}: Remove unneeded config dependencies 2017-09-27 08:54:19 -04:00
Makefile chelsio: Move the Chelsio drivers 2011-08-10 19:54:52 -07:00
cxio_dbg.c cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
cxio_hal.c RDMA/cxgb3: remove redundant first assignement of sqp 2017-09-27 08:54:19 -04:00
cxio_hal.h cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
cxio_resource.c cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
cxio_resource.h
cxio_wr.h tree-wide: fix comment/printk typos 2010-11-01 15:38:34 -04:00
iwch.c RDMA: Remove useless MODULE_VERSION 2017-07-24 08:45:11 -04:00
iwch.h IB/cxgb3: convert to idr_alloc() 2013-02-27 19:10:16 -08:00
iwch_cm.c networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
iwch_cm.h cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
iwch_cq.c cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
iwch_ev.c cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
iwch_mem.c cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
iwch_provider.c RDMA: Simplify get firmware interface 2017-08-10 13:28:10 +03:00
iwch_provider.h cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
iwch_qp.c networking: convert many more places to skb_put_zero() 2017-06-16 11:48:35 -04:00
tcb.h