Staging: batman-adv: Don't inform about dropped packets in nodebug
authorSven Eckelmann <sven.eckelmann@gmx.de>
Sat, 4 Sep 2010 23:58:37 +0000 (01:58 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 5 Sep 2010 07:29:50 +0000 (00:29 -0700)
commit81abee4f189e56892b2b3e654a46973ff3c3ab4e
treef8eb7128981cd281470eda9456226b30dcda8fc0
parent57b7117af84346c757be861c065ee790e4a62cb0
Staging: batman-adv: Don't inform about dropped packets in nodebug

Information about dropped packets are usually only interesting for
debugging purposes and otherwise open the possibility to flood the logs
of the target machine with useless information.

pr_debug will not output those information on a nodebug kernel.

Reported-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/batman-adv/routing.c
drivers/staging/batman-adv/vis.c