[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200521021528.GA70605@6bfd3b9cba2b>
Date: Thu, 21 May 2020 10:15:28 +0800
From: kbuild test robot <lkp@...el.com>
To: Igor Russkikh <irusskikh@...vell.com>, netdev@...r.kernel.org
Cc: kbuild-all@...ts.01.org, "David S . Miller" <davem@...emloft.net>,
Mark Starovoytov <mstarovoitov@...vell.com>,
Dmitry Bezrukov <dbezrukov@...vell.com>,
Igor Russkikh <irusskikh@...vell.com>
Subject: [RFC PATCH] net: atlantic: ptp_ring_idx() can be static
Signed-off-by: kbuild test robot <lkp@...el.com>
---
aq_ptp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/aquantia/atlantic/aq_ptp.c b/drivers/net/ethernet/aquantia/atlantic/aq_ptp.c
index 9aee49c50f1f8..599ced261b2a4 100644
--- a/drivers/net/ethernet/aquantia/atlantic/aq_ptp.c
+++ b/drivers/net/ethernet/aquantia/atlantic/aq_ptp.c
@@ -948,7 +948,7 @@ void aq_ptp_ring_deinit(struct aq_nic_s *aq_nic)
/* Index must be 8 (8 TCs) or 16 (4 TCs).
* It depends on Traffic Class mode.
*/
-unsigned int ptp_ring_idx(const enum aq_tc_mode tc_mode)
+static unsigned int ptp_ring_idx(const enum aq_tc_mode tc_mode)
{
if (tc_mode == AQ_TC_MODE_8TCS)
return PTP_8TC_RING_IDX;
Powered by blists - more mailing lists