netfilter: xt_LED: don't output error message redundantly
authorDuan Jiong <duanj.fnst@cn.fujitsu.com>
Fri, 25 Jul 2014 01:06:27 +0000 (09:06 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 25 Jul 2014 12:55:33 +0000 (14:55 +0200)
commita2b60c75fa951f6e1ffa46c0f459d164d52699bf
tree5f0599d5397b55417c8d503b683985472765e03a
parent5bd3a76f4ba37108101c2ae93172571a70505982
netfilter: xt_LED: don't output error message redundantly

The function led_trigger_register() will only return -EEXIST when
error arises.

Signed-off-by: Duan Jiong <duanj.fnst@cn.fujitsu.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/xt_LED.c