caif: Remove noisy printout when disconnecting caif socket
Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
2c24a5d1b4
commit
47d1ff1765
@@ -361,11 +361,10 @@ void cfctrl_cancel_req(struct cflayer *layr, struct cflayer *adap_layer)
|
|||||||
struct cfctrl_request_info *p, *tmp;
|
struct cfctrl_request_info *p, *tmp;
|
||||||
struct cfctrl *ctrl = container_obj(layr);
|
struct cfctrl *ctrl = container_obj(layr);
|
||||||
spin_lock(&ctrl->info_list_lock);
|
spin_lock(&ctrl->info_list_lock);
|
||||||
pr_warn("enter\n");
|
|
||||||
|
|
||||||
list_for_each_entry_safe(p, tmp, &ctrl->list, list) {
|
list_for_each_entry_safe(p, tmp, &ctrl->list, list) {
|
||||||
if (p->client_layer == adap_layer) {
|
if (p->client_layer == adap_layer) {
|
||||||
pr_warn("cancel req :%d\n", p->sequence_no);
|
pr_debug("cancel req :%d\n", p->sequence_no);
|
||||||
list_del(&p->list);
|
list_del(&p->list);
|
||||||
kfree(p);
|
kfree(p);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user