aboutsummaryrefslogtreecommitdiffstats
path: root/net/caif/cfctrl.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/caif/cfctrl.c')
-rw-r--r--net/caif/cfctrl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/caif/cfctrl.c b/net/caif/cfctrl.c
index 44f270fc2d06..a376ec1ac0a7 100644
--- a/net/caif/cfctrl.c
+++ b/net/caif/cfctrl.c
@@ -515,8 +515,7 @@ static int cfctrl_recv(struct cflayer *layer, struct cfpkt *pkt)
515 client_layer : NULL); 515 client_layer : NULL);
516 } 516 }
517 517
518 if (req != NULL) 518 kfree(req);
519 kfree(req);
520 519
521 spin_unlock_bh(&cfctrl->info_list_lock); 520 spin_unlock_bh(&cfctrl->info_list_lock);
522 } 521 }