diff --git a/src/output-json-smb.c b/src/output-json-smb.c index 593a33a20a..e768c5f025 100644 --- a/src/output-json-smb.c +++ b/src/output-json-smb.c @@ -45,7 +45,6 @@ #include "output-json-smb.h" -#ifdef HAVE_RUST #ifdef HAVE_LIBJANSSON #include "rust.h" #include "rust-smb-log-gen.h" @@ -117,10 +116,3 @@ void JsonSMBLogRegister(void) #endif /* HAVE_LIBJANSSON */ -#else /* no rust */ - -void JsonSMBLogRegister(void) -{ -} - -#endif /* HAVE_RUST */ diff --git a/src/output-json-smb.h b/src/output-json-smb.h index 6f96002551..bd0fdd7910 100644 --- a/src/output-json-smb.h +++ b/src/output-json-smb.h @@ -25,7 +25,6 @@ #define __OUTPUT_JSON_SMB_H__ void JsonSMBLogRegister(void); -#ifdef HAVE_RUST json_t *JsonSMBAddMetadata(const Flow *f, uint64_t tx_id); -#endif /* HAVE_RUST */ + #endif /* __OUTPUT_JSON_SMB_H__ */