aboutsummaryrefslogtreecommitdiffstats
path: root/net/caif/chnl_net.c
diff options
context:
space:
mode:
authorsjur.brandeland@stericsson.com <sjur.brandeland@stericsson.com>2011-05-12 22:44:08 -0400
committerDavid S. Miller <davem@davemloft.net>2011-05-15 17:45:56 -0400
commit3f874adc4ae80828b79e8aac6891c108c1f6be6d (patch)
tree5708865d06ae40ddfb12f4aab92b21267fdb0da4 /net/caif/chnl_net.c
parent33b2f5598b4ee68021364a7b795c09ad66bc0aa8 (diff)
caif: remove unesesarry exports
Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/caif/chnl_net.c')
-rw-r--r--net/caif/chnl_net.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/caif/chnl_net.c b/net/caif/chnl_net.c
index 1a3398a89aee..649ebacaf6bc 100644
--- a/net/caif/chnl_net.c
+++ b/net/caif/chnl_net.c
@@ -83,10 +83,11 @@ static int chnl_recv_cb(struct cflayer *layr, struct cfpkt *pkt)
83 if (!priv) 83 if (!priv)
84 return -EINVAL; 84 return -EINVAL;
85 85
86 skb = (struct sk_buff *) cfpkt_tonative(pkt);
87
86 /* Get length of CAIF packet. */ 88 /* Get length of CAIF packet. */
87 pktlen = cfpkt_getlen(pkt); 89 pktlen = skb->len;
88 90
89 skb = (struct sk_buff *) cfpkt_tonative(pkt);
90 /* Pass some minimum information and 91 /* Pass some minimum information and
91 * send the packet to the net stack. 92 * send the packet to the net stack.
92 */ 93 */