Spdk/module/bdev/nvme
Ziye Yang d81d7a2c22 bdev/nvme: fix the compilation warning for unused variable.
The error message is:

bdev_nvme.c:456:6: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable]
  456 |  int rc;

Reason: The CI testing pool will always use --enable-debug, but without this
flag, we will see complilation warning.

If we really want to catch this, it is better to really use this rc variable and print
some information.

Change-Id: Iec0ffcec4ec091d36044e3b36a9ac85e677b5c70
Signed-off-by: Ziye Yang <ziye.yang@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3001
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2020-06-24 08:22:11 +00:00
..
bdev_nvme_cuse_rpc.c module/bdev_nvme: remove spdk prefix from static/internal functions. 2020-05-15 07:58:03 +00:00
bdev_nvme_rpc.c bdev/nvme: make the controller trid a pointer. 2020-06-22 10:13:29 +00:00
bdev_nvme.c bdev/nvme: fix the compilation warning for unused variable. 2020-06-24 08:22:11 +00:00
bdev_nvme.h bdev/nvme: add a function for specifying a multipath trid. 2020-06-22 10:13:29 +00:00
bdev_ocssd_rpc.c bdev/ocssd: fixed leaking range buffer 2019-12-23 08:43:34 +00:00
bdev_ocssd.c lib/thread: Use function name as poller name by using macro SPDK_POLLER_REGISTER 2020-04-15 07:23:09 +00:00
bdev_ocssd.h bdev/ocssd: media management events 2019-12-20 10:02:15 +00:00
common.c bdev/nvme: add a function for specifying a multipath trid. 2020-06-22 10:13:29 +00:00
common.h bdev/nvme: add a function for specifying a multipath trid. 2020-06-22 10:13:29 +00:00
Makefile mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
nvme_rpc.c module/bdev_nvme: remove spdk prefix from static/internal functions. 2020-05-15 07:58:03 +00:00
vbdev_opal_rpc.c nvme/opal: deprecate spdk_opal_supported() 2020-05-20 14:16:44 +00:00
vbdev_opal.c nvme/opal: deprecate spdk_opal_supported() 2020-05-20 14:16:44 +00:00
vbdev_opal.h module/bdev_nvme: remove spdk prefix from static/internal functions. 2020-05-15 07:58:03 +00:00