staging: batman-adv: remove useless addr_to_string()
authorAndy Shevchenko <andy.shevchenko@gmail.com>
Wed, 20 Oct 2010 15:47:44 +0000 (18:47 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Oct 2010 22:48:40 +0000 (15:48 -0700)
commit77099f0afe94928b5b0066a7efa5fa9f81696b54
tree62e7a8da2b028d938670bf98d1fe7108e8e3ce4a
parentcd389a34a182639e8b6bf0e812fe8ec038bfddc5
staging: batman-adv: remove useless addr_to_string()

Since all *printf() methods in the kernel understand '%pM' modifier the
conversion to the string is useless beforehand.

Additionally this patch decreases batman_if structure by 20 bytes.

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Marek Lindner <lindner_marek@yahoo.de>
Cc: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Cc: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/batman-adv/hard-interface.c
drivers/staging/batman-adv/main.c
drivers/staging/batman-adv/main.h
drivers/staging/batman-adv/originator.c
drivers/staging/batman-adv/routing.c
drivers/staging/batman-adv/send.c
drivers/staging/batman-adv/types.h
drivers/staging/batman-adv/vis.c