diff options
author | Antonio Quartulli <ordex@autistici.org> | 2013-04-08 15:08:18 +0200 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2013-05-29 02:44:54 +0200 |
commit | 7ed4be9523455a061e62236dc3caa9211cd7edda (patch) | |
tree | 476ba10f0a15e50ff9f5409f4a4f4ee0e1388a47 /kernel/time | |
parent | 7db3fc291bb22bf43667b009dd0e701ed4eb7c96 (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/time')
0 files changed, 0 insertions, 0 deletions