]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Remove reference to ancient deprecated function call
authorNick Porter <nick@portercomputing.co.uk>
Mon, 25 Nov 2024 14:56:13 +0000 (14:56 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Mon, 25 Nov 2024 16:06:03 +0000 (16:06 +0000)
src/modules/rlm_sql/drivers/rlm_sql_cassandra/rlm_sql_cassandra.c

index d644bf0fd5c27833cf2c05df6a2632de07f932aa..b02f7e3a40e22f153c107eadf8ce74e15e93f9ff 100644 (file)
@@ -818,16 +818,6 @@ do {\
        return 0;
 }
 
-static void mod_unload(void)
-{
-       /*
-        *      The function cass_log_cleanup() was deprecated in 2.0.1
-        */
-#if (CASS_VERSION_MAJOR <= 2 && CASS_VERSION_MINOR <= 0)
-       cass_log_cleanup();     /* must be last call to libcassandra */
-#endif
-}
-
 static int mod_load(void)
 {
        INFO("Built against libcassandra version %d.%d.%d%s",
@@ -850,7 +840,6 @@ rlm_sql_driver_t rlm_sql_cassandra = {
                .magic                          = MODULE_MAGIC_INIT,
                .inst_size                      = sizeof(rlm_sql_cassandra_t),
                .onload                         = mod_load,
-               .unload                         = mod_unload,
                .config                         = driver_config,
                .instantiate                    = mod_instantiate,
                .detach                         = mod_detach