From mboxrd@z Thu Jan 1 00:00:00 1970 From: Corentin Labbe Subject: [PATCH] net: ethernet: stmmac: fix documentation warning Date: Fri, 13 Jul 2018 11:50:15 +0000 Message-ID: <1531482615-12905-1-git-send-email-clabbe@baylibre.com> Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Corentin Labbe To: alexandre.torgue@st.com, peppe.cavallaro@st.com, davem@davemloft.net Return-path: Received: from mail-wm0-f65.google.com ([74.125.82.65]:39598 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727495AbeGMMEl (ORCPT ); Fri, 13 Jul 2018 08:04:41 -0400 Received: by mail-wm0-f65.google.com with SMTP id h20-v6so9057032wmb.4 for ; Fri, 13 Jul 2018 04:50:20 -0700 (PDT) Sender: netdev-owner@vger.kernel.org List-ID: This patch remove the following documentation warning drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:103: warning: Excess function parameter 'priv' description in 'stmmac_axi_setup' It was introduced in commit afea03656add7 ("stmmac: rework DMA bus setting and introduce new platform AXI structure") Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c index 6d141f3931eb..72da77b94ecd 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c @@ -94,7 +94,6 @@ static int dwmac1000_validate_ucast_entries(int ucast_entries) /** * stmmac_axi_setup - parse DT parameters for programming the AXI register * @pdev: platform device - * @priv: driver private struct. * Description: * if required, from device-tree the AXI internal register can be tuned * by using platform parameters. -- 2.16.4