aboutsummaryrefslogtreecommitdiffstats
path: root/net/caif/chnl_net.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/caif/chnl_net.c')
-rw-r--r--net/caif/chnl_net.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/caif/chnl_net.c b/net/caif/chnl_net.c
index a751d9b263ed..e866234d0e5a 100644
--- a/net/caif/chnl_net.c
+++ b/net/caif/chnl_net.c
@@ -72,13 +72,12 @@ static void robust_list_del(struct list_head *delete_node)
72static int chnl_recv_cb(struct cflayer *layr, struct cfpkt *pkt) 72static int chnl_recv_cb(struct cflayer *layr, struct cfpkt *pkt)
73{ 73{
74 struct sk_buff *skb; 74 struct sk_buff *skb;
75 struct chnl_net *priv = container_of(layr, struct chnl_net, chnl); 75 struct chnl_net *priv;
76 int pktlen; 76 int pktlen;
77 const u8 *ip_version; 77 const u8 *ip_version;
78 u8 buf; 78 u8 buf;
79 79
80 priv = container_of(layr, struct chnl_net, chnl); 80 priv = container_of(layr, struct chnl_net, chnl);
81
82 if (!priv) 81 if (!priv)
83 return -EINVAL; 82 return -EINVAL;
84 83