]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: remove useless assignment in tt_local_add()
authorAntonio Quartulli <ordex@autistici.org>
Mon, 19 Nov 2012 08:01:44 +0000 (09:01 +0100)
committerAntonio Quartulli <ordex@autistici.org>
Sat, 12 Jan 2013 10:58:20 +0000 (20:58 +1000)
commit816131af8c0f871655c5b701ff9f299e7bddb705
treec8de6412cca54314c6c9ed17553a621b492c4a12
parentf4ac7f35c67f81a0bce5d9a4601d5fa96dd465e7
batman-adv: remove useless assignment in tt_local_add()

The flag field of the tt_local_entry->common structure in
tt_local_add() is first assigned NO_FLAGS and then TT_CLIENT_NEW so
nullifying the first operation. For this reason it is safe to remove
the first assignment.

This was introuduced by ("batman-adv: keep local table consistency for
further TT_RESPONSE")

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/translation-table.c