summaryrefslogtreecommitdiffstats
path: root/kernel/lockdep_states.h
diff options
context:
space:
mode:
authorAntonio Quartulli <ordex@autistici.org>2013-04-08 15:08:18 +0200
committerAntonio Quartulli <ordex@autistici.org>2013-05-29 02:44:54 +0200
commit7ed4be9523455a061e62236dc3caa9211cd7edda (patch)
tree476ba10f0a15e50ff9f5409f4a4f4ee0e1388a47 /kernel/lockdep_states.h
parent7db3fc291bb22bf43667b009dd0e701ed4eb7c96 (diff)
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 <ordex@autistici.org> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'kernel/lockdep_states.h')
0 files changed, 0 insertions, 0 deletions