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)
commit8425ec6aea20f8c8e1783d7390f5ea6ca01c58e1
treec8de6412cca54314c6c9ed17553a621b492c4a12
parent39a329915889a220b5f2c3f2eb3d7fd892567715
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