Skip to content

Commit

Permalink
event_rabbitmq: remove unused modparam
Browse files Browse the repository at this point in the history
(cherry picked from commit 0734be9)
  • Loading branch information
rvlad-patrascu committed Jul 28, 2020
1 parent c7dcc77 commit 8e4a477
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
19 changes: 0 additions & 19 deletions modules/event_rabbitmq/doc/event_rabbitmq_admin.xml
Expand Up @@ -174,25 +174,6 @@ modparam("event_rabbitmq", "connect_timeout", 1000)
</programlisting>
</example>
</section>
<section id="param_suppress_event_name" xreflabel="suppress_event_name">
<title><varname>suppress_event_name</varname> (int)</title>
<para>
Suppresses the name of the event in the raised event.
</para>
<para>
<emphasis>
Default value is <quote>0/OFF</quote> (the event's name is sent).
</emphasis>
</para>
<example>
<title>Set <varname>suppress_event_name</varname> parameter</title>
<programlisting format="linespecific">
...
modparam("event_rabbitmq", "suppress_event_name", 1)
...
</programlisting>
</example>
</section>
</section>

<section id="exported_functions" xreflabel="exported_functions">
Expand Down
2 changes: 0 additions & 2 deletions modules/event_rabbitmq/event_rabbitmq.c
Expand Up @@ -44,7 +44,6 @@ static void destroy(void);
*/
static unsigned int heartbeat = 0;
extern unsigned rmq_sync_mode;
static int suppress_event_name = 0;
static int rmq_connect_timeout = RMQ_DEFAULT_CONNECT_TIMEOUT;
struct timeval conn_timeout_tv;

Expand All @@ -69,7 +68,6 @@ static param_export_t mod_params[] = {
{"heartbeat", INT_PARAM, &heartbeat},
{"sync_mode", INT_PARAM, &rmq_sync_mode},
{"connect_timeout", INT_PARAM, &rmq_connect_timeout},
{"suppress_event_name", INT_PARAM, &suppress_event_name},
{0,0,0}
};

Expand Down

0 comments on commit 8e4a477

Please sign in to comment.