diff options
author | Martin Willi <martin@revosec.ch> | 2013-07-18 11:42:59 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2013-07-18 16:00:31 +0200 |
commit | 1897dd730fa5462edbd22601bdb1231fbaab3fa6 (patch) | |
tree | 374b1d5d60d8e1b684f0240a728a11b0d4bb1784 | |
parent | ea009869e9e5cc914c5ce98261351029c7ab079e (diff) | |
download | strongswan-1897dd730fa5462edbd22601bdb1231fbaab3fa6.tar.bz2 strongswan-1897dd730fa5462edbd22601bdb1231fbaab3fa6.tar.xz |
processor: remove the now unused get_threads() method again
-rw-r--r-- | src/libstrongswan/processing/processor.c | 7 | ||||
-rw-r--r-- | src/libstrongswan/processing/processor.h | 10 |
2 files changed, 0 insertions, 17 deletions
diff --git a/src/libstrongswan/processing/processor.c b/src/libstrongswan/processing/processor.c index f193b8d5e..e00216e07 100644 --- a/src/libstrongswan/processing/processor.c +++ b/src/libstrongswan/processing/processor.c @@ -462,12 +462,6 @@ METHOD(processor_t, set_threads, void, this->mutex->unlock(this->mutex); } -METHOD(processor_t, get_threads, u_int, - private_processor_t *this) -{ - return this->desired_threads; -} - METHOD(processor_t, cancel, void, private_processor_t *this) { @@ -539,7 +533,6 @@ processor_t *processor_create() .queue_job = _queue_job, .execute_job = _execute_job, .set_threads = _set_threads, - .get_threads = _get_threads, .cancel = _cancel, .destroy = _destroy, }, diff --git a/src/libstrongswan/processing/processor.h b/src/libstrongswan/processing/processor.h index c691cfb60..f96530e54 100644 --- a/src/libstrongswan/processing/processor.h +++ b/src/libstrongswan/processing/processor.h @@ -98,16 +98,6 @@ struct processor_t { void (*set_threads)(processor_t *this, u_int count); /** - * Get the number of threads set with set_threads(). - * - * This does not actually reflect the number of threads currently active, - * but the number of threads targeted. - * - * @return number of desired threads - */ - u_int (*get_threads)(processor_t *this); - - /** * Sets the number of threads to 0 and cancels all blocking jobs, then waits * for all threads to be terminated. */ |