diff options
author | Felipe Franciosi <felipe@nutanix.com> | 2019-11-02 06:49:00 +0000 |
---|---|---|
committer | Felipe Franciosi <felipe@nutanix.com> | 2019-11-04 11:35:26 +0000 |
commit | 204a658378329eb39065cf3b48611d7f5968dc5c (patch) | |
tree | 39a02b70e774cd27dd962d96c6b344869cd48346 | |
parent | dbb941aa23e21788f62ca27b8beaec0571a208bc (diff) | |
download | libvfio-user-204a658378329eb39065cf3b48611d7f5968dc5c.zip libvfio-user-204a658378329eb39065cf3b48611d7f5968dc5c.tar.gz libvfio-user-204a658378329eb39065cf3b48611d7f5968dc5c.tar.bz2 |
Remove incorrect guards on dump_buffer()
The dump_buffer() method has internal guards, causing the function to be
optimised out (within a compilation unit) if DEBUG is not set. The
guards around the function export are not needed.
Signed-off-by: Felipe Franciosi <felipe@nutanix.com>
-rw-r--r-- | lib/muser.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/muser.h b/lib/muser.h index cd0a7ba..dc0e358 100644 --- a/lib/muser.h +++ b/lib/muser.h @@ -439,11 +439,9 @@ lm_get_region(loff_t pos, size_t count, loff_t *off); uint8_t * lm_get_pci_non_std_config_space(lm_ctx_t *lm_ctx); -#ifdef DEBUG void dump_buffer(lm_ctx_t *lm_ctx, const char *prefix, const unsigned char *buf, uint32_t count); -#endif #endif /* LIB_MUSER_H */ |