Loading net/qrtr/mhi.c +2 −6 Original line number Diff line number Diff line Loading @@ -116,14 +116,10 @@ static int qcom_mhi_qrtr_send(struct qrtr_endpoint *ep, struct sk_buff *skb) if (skb->sk) sock_hold(skb->sk); rc = wait_for_completion_interruptible_timeout(&pkt->done, HZ * 5); if (rc > 0) rc = 0; else if (rc == 0) rc = -ETIMEDOUT; wait_for_completion(&pkt->done); kref_put(&pkt->refcount, qrtr_mhi_pkt_release); return rc; return 0; } static int qcom_mhi_qrtr_probe(struct mhi_device *mhi_dev, Loading Loading
net/qrtr/mhi.c +2 −6 Original line number Diff line number Diff line Loading @@ -116,14 +116,10 @@ static int qcom_mhi_qrtr_send(struct qrtr_endpoint *ep, struct sk_buff *skb) if (skb->sk) sock_hold(skb->sk); rc = wait_for_completion_interruptible_timeout(&pkt->done, HZ * 5); if (rc > 0) rc = 0; else if (rc == 0) rc = -ETIMEDOUT; wait_for_completion(&pkt->done); kref_put(&pkt->refcount, qrtr_mhi_pkt_release); return rc; return 0; } static int qcom_mhi_qrtr_probe(struct mhi_device *mhi_dev, Loading