From patchwork Tue Apr 25 20:30:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 9699685 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5ECB460224 for ; Tue, 25 Apr 2017 20:30:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4E8CB2846D for ; Tue, 25 Apr 2017 20:30:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 434082847F; Tue, 25 Apr 2017 20:30:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C0F342846D for ; Tue, 25 Apr 2017 20:30:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1954328AbdDYUaU (ORCPT ); Tue, 25 Apr 2017 16:30:20 -0400 Received: from mout.web.de ([212.227.15.4]:61331 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1954323AbdDYUaQ (ORCPT ); Tue, 25 Apr 2017 16:30:16 -0400 Received: from [192.168.1.2] ([92.228.145.161]) by smtp.web.de (mrweb004 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MZAp2-1ciIQE0456-00KyLm; Tue, 25 Apr 2017 22:30:06 +0200 Subject: [PATCH 3/3] scsi: ufs: Delete an unnecessary return statement in ufshcd_exception_event_handler() From: SF Markus Elfring To: linux-scsi@vger.kernel.org, "James E. J. Bottomley" , "Martin K. Petersen" , Vinayak Holikatti Cc: LKML , kernel-janitors@vger.kernel.org References: <75622f45-f46c-e52f-2b9e-6ff5ce32184a@users.sourceforge.net> Message-ID: <9fc152fd-0881-85f6-a4d0-3db27dc364f5@users.sourceforge.net> Date: Tue, 25 Apr 2017 22:30:05 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0.1 MIME-Version: 1.0 In-Reply-To: <75622f45-f46c-e52f-2b9e-6ff5ce32184a@users.sourceforge.net> Content-Language: en-GB X-Provags-ID: V03:K0:x1kM8nKhRMTepFJbd/2arBL+z01Kn020NYF9bl/IHhTtjpCGPjB b9WEIhK+zt4iIEnFuJbD8OJehxE8YnzjJxe4fXInvFEmgiPyWJ1kDlXN41rPctTPf/d1u3U jvOaCP3M7Jf+9OpWi0aVnQGPo6mRqFPhd+GoaEwOkeNm5r9Hoj0w8VaWLU+z+ZXu2EA6lb+ HFFETHDkvrpsrZY4+DnUw== X-UI-Out-Filterresults: notjunk:1; V01:K0:9Jp2odbdLNU=:/Qmi6+T+uq92xQmai9GXes CnQdRpIjSBN7ktOMu/T2OAg2JlQkAFdw9IQd9YQ+ezkBE65DjA0Yl3ZKjj+gVNTxkAfFm+As4 IV/MvbtDclSuzeAWOks0eQXw7NPbj6oybu8A+T3ZzTmd5y88F17AhVDqY3+R7sXz3PUFpWeeD oe1ST/PO8n9Q9XtiQ7RnIdEXkStseMtyCRQ4e1HEwwCRXLnGCdd9tJqDqoLgy90pVgdJLrBhp NVCQuc5LK9d5e/bMqaN0XQdx6aFIBJdjlhiOK9uJBqFFUXWuLhBVx4onC/ly97zFvHL9cAHHr 6jTXD/ZqKlOalnjYuk2jjyE8v+VCpg8n6pJSzBh9d6PM9aN4tMT6ip114237KsnGTBuirg2gR haB6SnHigOk3Xn+doLQPwPS1a1jChpupU0lbUEBaMPeaWJrhqbWlNl8hcFYIVDG4MOXML3++l KmMM7RV12t9x4OLh8FOurvvZoImfc5oGY3OnpIcoyC+7IzL5ETvlVBXKNLujyjVazTwskW3IQ o6vMM5twLmxqMCg0PnscwsgMGDdp5NwlpuE4P9JGScoB1oeInaDt4NMiUsGIplFNLbN1DYeTc 9UO9GjgDsgUySsY+JDpvASFZeLBN+R3tRSF4hu+IAweEB6XbS/LEW7/eTCWdeyfAI+hEBxZTt y5xpxJT553dJ/Hi80F+aU9x2xZVsqmnc2aKx9vM5spFguUxvj2nnOwYZ8tTuWRM+0QTJm+3s4 Ep1Ug5lv6kJaG3lj0tXKzPpt//uhc/vG6xAtcig+xAvCZi9IXj+fcick2ZcKAB3MxJABr/Jhx 1/meBI3 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Tue, 25 Apr 2017 22:00:05 +0200 The script "checkpatch.pl" pointed information out like the following. WARNING: void function return statements are not generally useful Thus remove such a statement here. Signed-off-by: Markus Elfring Reviewed-by: Subhash Jadavani --- drivers/scsi/ufs/ufshcd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index 5216e33e61a3..9018f26a5667 100644 --- a/drivers/scsi/ufs/ufshcd.c +++ b/drivers/scsi/ufs/ufshcd.c @@ -4966,7 +4966,6 @@ static void ufshcd_exception_event_handler(struct work_struct *work) out: pm_runtime_put_sync(hba->dev); - return; } /* Complete requests that have door-bell cleared */