]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/batman-adv/unicast.c
batman-adv: Remove casts from type x to type x
[karo-tx-linux.git] / net / batman-adv / unicast.c
index e2deb442f4fe402e45f4fccde6a52d1405e2d116..82717fd9661d351c8c33931eac9bc72aae7e1eee 100644 (file)
@@ -295,7 +295,7 @@ int unicast_send_skb(struct sk_buff *skb, struct bat_priv *bat_priv)
 
        /* get routing information */
        if (is_multicast_ether_addr(ethhdr->h_dest)) {
-               orig_node = (struct orig_node *)gw_get_selected_orig(bat_priv);
+               orig_node = gw_get_selected_orig(bat_priv);
                if (orig_node)
                        goto find_router;
        }