diff options
author | Simon Wunderlich <siwu@hrz.tu-chemnitz.de> | 2010-12-29 17:15:19 +0100 |
---|---|---|
committer | Sven Eckelmann <sven@narfation.org> | 2011-01-31 14:57:09 +0100 |
commit | 74ef115359f5beb565baddfb250f264d9177c108 (patch) | |
tree | aec2314d58563f49438aee5eeeb94531d1815c15 /net/batman-adv/send.c | |
parent | batman-adv: Calculate correct size for merged packets (diff) | |
download | linux-74ef115359f5beb565baddfb250f264d9177c108.tar.xz linux-74ef115359f5beb565baddfb250f264d9177c108.zip |
batman-adv: remove unused parameters
Some function parameters are obsolete now and can be removed.
Reported-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to '')
-rw-r--r-- | net/batman-adv/send.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/send.c b/net/batman-adv/send.c index b89b9f7709ae..77f82972144e 100644 --- a/net/batman-adv/send.c +++ b/net/batman-adv/send.c @@ -49,7 +49,7 @@ static unsigned long own_send_time(struct bat_priv *bat_priv) } /* when do we schedule a forwarded packet to be sent */ -static unsigned long forward_send_time(struct bat_priv *bat_priv) +static unsigned long forward_send_time(void) { return jiffies + msecs_to_jiffies(random32() % (JITTER/2)); } @@ -356,7 +356,7 @@ void schedule_forward_packet(struct orig_node *orig_node, else batman_packet->flags &= ~DIRECTLINK; - send_time = forward_send_time(bat_priv); + send_time = forward_send_time(); add_bat_packet_to_list(bat_priv, (unsigned char *)batman_packet, sizeof(struct batman_packet) + hna_buff_len, |