Staging: batman-adv: convert vis_interval into define
authorSimon Wunderlich <siwu@hrz.tu-chemnitz.de>
Sun, 6 Jun 2010 19:28:20 +0000 (21:28 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 19 Jun 2010 00:01:19 +0000 (17:01 -0700)
commite6dc269b402d9fa1562276345931943683e16ebd
tree027d90547c5a92bbd9960d2f2c39cb1b735cbd13
parent8af60a8cf06f071a85b6101c86249cce92fa4203
Staging: batman-adv: convert vis_interval into define

vis_interval does not neccesarily needs to be a variable, as there is
no way to change it anyway (and probably no need to). We can therefore
remove yet another global variable.

Thanks Marek for pointing this out.

Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
[sven.eckelmann@gmx.de: Rework on top of current version]
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/batman-adv/main.c
drivers/staging/batman-adv/main.h
drivers/staging/batman-adv/vis.c