batman-adv: Use common declaration order in *_send_skb_(packet|unicast)
authorAntonio Quartulli <antonio@open-mesh.com>
Mon, 11 May 2015 18:34:52 +0000 (20:34 +0200)
committerAntonio Quartulli <antonio@meshcoding.com>
Fri, 29 May 2015 08:13:37 +0000 (10:13 +0200)
Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
net/batman-adv/send.c

index fa70ae8c9fe8010a57f510a4b01575cbb927ecfd..23635bd63fec8df7ba2d0fe21d08d574308080ca 100644 (file)
@@ -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)