From: Johannes Berg Date: Tue, 10 Jul 2012 06:18:44 +0000 (+0000) Subject: etherdevice: introduce eth_broadcast_addr X-Git-Tag: v3.6-rc1~125^2~252 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad7eee98bef92481581060801bdfd1b25a6106c0;p=pandora-kernel.git etherdevice: introduce eth_broadcast_addr A lot of code has either the memset or an inefficient copy from a static array that contains the all-ones broadcast address. Introduce eth_broadcast_addr() to fill an address with all ones, making the code clearer and allowing us to get rid of some constant arrays. Signed-off-by: Johannes Berg Signed-off-by: David S. Miller --- Reading git-diff-tree failed