From patchwork Tue Sep 5 18:16:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iyappan Subramanian X-Patchwork-Id: 9939449 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 E764B60350 for ; Tue, 5 Sep 2017 18:18:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E08132892E for ; Tue, 5 Sep 2017 18:18:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D5661289FA; Tue, 5 Sep 2017 18:18:31 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4FDEE289FF for ; Tue, 5 Sep 2017 18:18:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=YS77+30japSeJYOKwPHWWj83XwhnWAc/+yluLrIJmOA=; b=GibCbyFe+ij8qmeztF3Gl+7Lqt sR1Xi3ik4MJDQ9NaociIx62KdU6G49GKiQYMJdgFjd+wWEXUQ36IoU9cE/8dJZWcZjeBQzyzK7vww ooLPrtlt08+9nQpvF/jaONUpwl3el+cXV+/hlyQLLfj5FQnZfWcviIb8dhIZD365C4cNiZUEqQ4wD MFvBrDRzEM9/fsMFcOPXq/en6pPXGSJQWVz2h/15w0lsXMXxrf32CJMxo44qKSg/V+YKl6FFzfCdU UmitpPXEi0NTyDLr4nNxi3Jc/t+BK60FR8LwZaC944xF429ooMz/57eKdZgFyLFQJFuB0llALuWW6 RhgCayYg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dpIQP-0002le-EF; Tue, 05 Sep 2017 18:18:13 +0000 Received: from mail-pf0-x232.google.com ([2607:f8b0:400e:c00::232]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dpIPS-0001pg-4B for linux-arm-kernel@lists.infradead.org; Tue, 05 Sep 2017 18:17:18 +0000 Received: by mail-pf0-x232.google.com with SMTP id g13so9047015pfm.2 for ; Tue, 05 Sep 2017 11:16:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apm.com; s=apm; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZBIa1McXrxwi1UNkg5Sr3MlcB5yRjoGjNOujc9FfmoQ=; b=YjfYPOROBX8yY0H8z1E0CSScpZwpjKqXje0yRChpoyOUQ/lX+DYGnwrPMGv6LpPp6R fmY76fYjuvLSxnPN3Xv7tKA5utIqZPm0OTtWgurkgM+hU38BVf5OyTMIes6FqnFNZ5Ug ovqVMfF/BNbJuY28mf7QvCBKczTAmwmZfHooo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZBIa1McXrxwi1UNkg5Sr3MlcB5yRjoGjNOujc9FfmoQ=; b=F0qpSJZTcvcyIjhyM0Frx6YwDRR+o21vpjuGcd3T2sNLLQPyI+RP/jNAT+Io/DOITd k8fOhdEqUkq5PSphHvRh0qUzApM81k9wMMJuWz877xMSSTDHEBoe/ujWUK8I07whRwOH f1QdeOEgC458TYoIJ0aS5zGF5DCVvCC2PAcFy/Ef+4GMgWVeIBp4wHx7gIEaxXDBzTL0 2jkNx5TF1hRVrRJHdMdt9SXqb6pHOpJK8Q8R7MS59Un7vXUZDbIADtQiUvu96Hhun5TW UFExTPcf2kAOATOF+3TkOszxQW6OWJ3F1ya4+PbKXXBIqff6w3+mPrGsWfNvXphzR1Zm NAIQ== X-Gm-Message-State: AHPjjUjuZNe4+Smh4KZ/nEvNYZv2ckUbO1Toj1KKqQ/Tgz4YrG2oH3xF bxbxyYTgLRYiP2Xg X-Google-Smtp-Source: ADKCNb6neO0pTdmVmPIgv9trGbpA1E9CQvGluFFH1/HPWqMHGYcEwEYFRUDD+h2Z+IO8skU9xgtEoQ== X-Received: by 10.99.133.66 with SMTP id u63mr5060698pgd.426.1504635413181; Tue, 05 Sep 2017 11:16:53 -0700 (PDT) Received: from isubrama-dev.amcc.com ([206.80.4.98]) by smtp.gmail.com with ESMTPSA id k195sm1912991pgc.4.2017.09.05.11.16.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Sep 2017 11:16:52 -0700 (PDT) From: Iyappan Subramanian To: davem@davemloft.net, netdev@vger.kernel.org Subject: [PATCH 3/3] drivers: net: xgene: Remove return statement from void function Date: Tue, 5 Sep 2017 11:16:32 -0700 Message-Id: <1504635392-19089-4-git-send-email-isubramanian@apm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1504635392-19089-1-git-send-email-isubramanian@apm.com> References: <1504635392-19089-1-git-send-email-isubramanian@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170905_111714_412103_6BA7E06C X-CRM114-Status: UNSURE ( 9.16 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dnelson@redhat.com, patches@apm.com, linux-arm-kernel@lists.infradead.org, Iyappan Subramanian MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP commit 183db4 ("drivers: net: xgene: Correct probe sequence handling") changed the return type of xgene_enet_check_phy_handle() to void. This patch, removes the return statement from the last line. Signed-off-by: Iyappan Subramanian --- drivers/net/ethernet/apm/xgene/xgene_enet_main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet/apm/xgene/xgene_enet_main.c b/drivers/net/ethernet/apm/xgene/xgene_enet_main.c index 655c0fc..3b889ef 100644 --- a/drivers/net/ethernet/apm/xgene/xgene_enet_main.c +++ b/drivers/net/ethernet/apm/xgene/xgene_enet_main.c @@ -1674,8 +1674,6 @@ static void xgene_enet_check_phy_handle(struct xgene_enet_pdata *pdata) ret = xgene_enet_phy_connect(pdata->ndev); if (!ret) pdata->mdio_driver = true; - - return; } static void xgene_enet_gpiod_get(struct xgene_enet_pdata *pdata)