module/accel/idxd: remove developer debug mode code
No longer needed. Signed-off-by: paul luse <paul.e.luse@intel.com> Change-Id: If29fd918958aaf9b36f9c749512119cecbd8f92e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2880 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
a34fc12be3
commit
93a5e08fc8
@ -47,15 +47,7 @@
|
|||||||
#include "spdk/util.h"
|
#include "spdk/util.h"
|
||||||
#include "spdk/json.h"
|
#include "spdk/json.h"
|
||||||
|
|
||||||
/* Undefine this to require an RPC to enable IDXD. */
|
|
||||||
#undef DEVELOPER_DEBUG_MODE
|
|
||||||
|
|
||||||
#ifdef DEVELOPER_DEBUG_MODE
|
|
||||||
static bool g_idxd_enable = true;
|
|
||||||
#else
|
|
||||||
static bool g_idxd_enable = false;
|
static bool g_idxd_enable = false;
|
||||||
#endif
|
|
||||||
|
|
||||||
uint32_t g_config_number;
|
uint32_t g_config_number;
|
||||||
|
|
||||||
enum channel_state {
|
enum channel_state {
|
||||||
@ -677,10 +669,6 @@ probe_cb(void *cb_ctx, struct spdk_pci_device *pci_dev)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DEVELOPER_DEBUG_MODE
|
|
||||||
spdk_idxd_set_config(0);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user