dm vdo: remove meaningless version number constant
Also remove related log messages. Signed-off-by: Matthew Sakai <msakai@redhat.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
This commit is contained in:
parent
7eb30fe18f
commit
2a7f925bc2
|
@ -39,8 +39,6 @@
|
||||||
#include "vdo.h"
|
#include "vdo.h"
|
||||||
#include "vio.h"
|
#include "vio.h"
|
||||||
|
|
||||||
#define CURRENT_VERSION "8.3.0.65"
|
|
||||||
|
|
||||||
enum admin_phases {
|
enum admin_phases {
|
||||||
GROW_LOGICAL_PHASE_START,
|
GROW_LOGICAL_PHASE_START,
|
||||||
GROW_LOGICAL_PHASE_GROW_BLOCK_MAP,
|
GROW_LOGICAL_PHASE_GROW_BLOCK_MAP,
|
||||||
|
@ -2863,8 +2861,6 @@ static void vdo_module_destroy(void)
|
||||||
instances.count);
|
instances.count);
|
||||||
vdo_free(instances.words);
|
vdo_free(instances.words);
|
||||||
memset(&instances, 0, sizeof(struct instance_tracker));
|
memset(&instances, 0, sizeof(struct instance_tracker));
|
||||||
|
|
||||||
vdo_log_info("unloaded version %s", CURRENT_VERSION);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int __init vdo_init(void)
|
static int __init vdo_init(void)
|
||||||
|
@ -2876,7 +2872,6 @@ static int __init vdo_init(void)
|
||||||
vdo_initialize_threads_mutex();
|
vdo_initialize_threads_mutex();
|
||||||
vdo_initialize_thread_device_registry();
|
vdo_initialize_thread_device_registry();
|
||||||
vdo_initialize_device_registry_once();
|
vdo_initialize_device_registry_once();
|
||||||
vdo_log_info("loaded version %s", CURRENT_VERSION);
|
|
||||||
|
|
||||||
/* Add VDO errors to the set of errors registered by the indexer. */
|
/* Add VDO errors to the set of errors registered by the indexer. */
|
||||||
result = vdo_register_status_codes();
|
result = vdo_register_status_codes();
|
||||||
|
|
Loading…
Reference in New Issue