From: Antonio Quartulli Date: Mon, 8 Apr 2013 13:08:18 +0000 (+0200) Subject: batman-adv: use eth_hdr() when it makes sense X-Git-Tag: v3.11-rc1~16^2~267^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ed4be9523455a061e62236dc3caa9211cd7edda;p=pandora-kernel.git batman-adv: use eth_hdr() when it makes sense Instead of casting the result of skb_mac_header() to "struct ethhdr *" every time, the eth_hdr inline function can be use to beautify the code and improve its readability. Signed-off-by: Antonio Quartulli Signed-off-by: Marek Lindner --- Reading git-diff-tree failed