]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/batman-adv/vis.c
batman-adv: Remove casts from type x to type x
[karo-tx-linux.git] / net / batman-adv / vis.c
index adb0327ff28bf974e7c61b6e725faed83857e3a6..b48954cd1e12c9e54fc31e75cbcb9793cba11b25 100644 (file)
@@ -621,7 +621,7 @@ static int generate_vis_packet(struct bat_priv *bat_priv)
        struct hlist_head *head;
        struct orig_node *orig_node;
        struct neigh_node *router;
-       struct vis_info *info = (struct vis_info *)bat_priv->my_vis_info;
+       struct vis_info *info = bat_priv->my_vis_info;
        struct vis_packet *packet = (struct vis_packet *)info->skb_packet->data;
        struct vis_info_entry *entry;
        struct tt_local_entry *tt_local_entry;