summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/caif/cfrfml.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/caif/cfrfml.c b/net/caif/cfrfml.c
index b82440e1fcb4..a931a71ef6df 100644
--- a/net/caif/cfrfml.c
+++ b/net/caif/cfrfml.c
@@ -264,9 +264,6 @@ static int cfrfml_transmit(struct cflayer *layr, struct cfpkt *pkt)
264 frontpkt = rearpkt; 264 frontpkt = rearpkt;
265 rearpkt = NULL; 265 rearpkt = NULL;
266 266
267 err = -ENOMEM;
268 if (frontpkt == NULL)
269 goto out;
270 err = -EPROTO; 267 err = -EPROTO;
271 if (cfpkt_add_head(frontpkt, head, 6) < 0) 268 if (cfpkt_add_head(frontpkt, head, 6) < 0)
272 goto out; 269 goto out;