Skip to content

Commit

Permalink
rlm_radius doesn't need to cache el, it has no timers or I/O events
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Feb 23, 2020
1 parent 75db8d9 commit 9b10030
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/modules/rlm_radius/rlm_radius.c
Expand Up @@ -547,7 +547,6 @@ static int mod_thread_instantiate(UNUSED CONF_SECTION const *cs, void *instance,
(void) talloc_set_type(t, rlm_radius_thread_t);

t->inst = instance;
t->el = el;

/*
* Allocate thread-specific data. The connections should
Expand Down
2 changes: 0 additions & 2 deletions src/modules/rlm_radius/rlm_radius.h
Expand Up @@ -41,8 +41,6 @@ typedef struct rlm_radius_io_s rlm_radius_io_t;
*/
typedef struct {
rlm_radius_t const *inst; //!< Instance of the module.
fr_event_list_t *el; //!< This thread's event list.

void *io_thread; //!< thread context for the IO submodule
} rlm_radius_thread_t;

Expand Down

0 comments on commit 9b10030

Please sign in to comment.