Callback job is not needed any more
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 31 Jul 2013 20:13:41 +0000 (22:13 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 31 Jul 2013 20:13:49 +0000 (22:13 +0200)
src/libcharon/plugins/tnc_pdp/tnc_pdp.c

index 9bbaae6..13914b9 100644 (file)
@@ -616,9 +616,5 @@ tnc_pdp_t *tnc_pdp_create(u_int16_t port)
        }
        DBG1(DBG_IKE, "eap method %N selected", eap_type_names, this->type);
 
-       lib->processor->queue_job(lib->processor,
-               (job_t*)callback_job_create_with_prio((callback_job_cb_t)receive, this,
-                               NULL, (callback_job_cancel_t)return_false, JOB_PRIO_CRITICAL));
-
        return &this->public;
 }