lib: remove agentx already enabled warning

This duplicates itself N times since it's not wrappered in a vtysh
command. In lieu of doing that, just remove the message, it's not really
necessary.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
Quentin Young 2018-10-28 02:50:47 +00:00
parent a353782e3b
commit 5fedee185f

View File

@ -188,9 +188,8 @@ DEFUN (agentx_enable,
events = list_new(); events = list_new();
agentx_events_update(); agentx_events_update();
agentx_enabled = 1; agentx_enabled = 1;
return CMD_SUCCESS;
} }
vty_out(vty, "SNMP AgentX already enabled\n");
return CMD_SUCCESS; return CMD_SUCCESS;
} }