"priv" is initialized twice.  I kept the second one, because it is next
to the check for NULL.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
 static int chnl_recv_cb(struct cflayer *layr, struct cfpkt *pkt)
 {
        struct sk_buff *skb;
-       struct chnl_net *priv  = container_of(layr, struct chnl_net, chnl);
+       struct chnl_net *priv;
        int pktlen;
        const u8 *ip_version;
        u8 buf;
 
        priv = container_of(layr, struct chnl_net, chnl);
-
        if (!priv)
                return -EINVAL;