summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Quartulli <antonio@open-mesh.com>2015-05-11 20:34:52 +0200
committerAntonio Quartulli <antonio@meshcoding.com>2015-05-29 10:13:37 +0200
commit8ea64e27080eb66dc26f64f28485c0bc9fc06b36 (patch)
tree28f6f02f6d0f3b07d39171789c96b83ca2271a51
parentbatman-adv: iv_ogm_orig_update, remove unnecessary brackets (diff)
downloadlinux-8ea64e27080eb66dc26f64f28485c0bc9fc06b36.tar.xz
linux-8ea64e27080eb66dc26f64f28485c0bc9fc06b36.zip
batman-adv: Use common declaration order in *_send_skb_(packet|unicast)
Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
-rw-r--r--net/batman-adv/send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/send.c b/net/batman-adv/send.c
index fa70ae8c9fe8..23635bd63fec 100644
--- a/net/batman-adv/send.c
+++ b/net/batman-adv/send.c
@@ -255,8 +255,8 @@ int batadv_send_skb_unicast(struct batadv_priv *bat_priv,
struct batadv_orig_node *orig_node,
unsigned short vid)
{
- struct ethhdr *ethhdr;
struct batadv_unicast_packet *unicast_packet;
+ struct ethhdr *ethhdr;
int ret = NET_XMIT_DROP;
if (!orig_node)