[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220126191109.2822706-8-kuba@kernel.org>
Date: Wed, 26 Jan 2022 11:11:01 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org, Jakub Kicinski <kuba@...nel.org>,
george.mccollister@...il.com, ennoerlangen@...il.com
Subject: [PATCH net-next 07/15] hsr: remove get_prp_lan_id()
get_prp_lan_id() has never been used.
Signed-off-by: Jakub Kicinski <kuba@...nel.org>
---
CC: george.mccollister@...il.com
CC: ennoerlangen@...il.com
---
net/hsr/hsr_main.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/net/hsr/hsr_main.h b/net/hsr/hsr_main.h
index 043e4e9a1694..ff9ec7634218 100644
--- a/net/hsr/hsr_main.h
+++ b/net/hsr/hsr_main.h
@@ -259,11 +259,6 @@ static inline u16 prp_get_skb_sequence_nr(struct prp_rct *rct)
return ntohs(rct->sequence_nr);
}
-static inline u16 get_prp_lan_id(struct prp_rct *rct)
-{
- return ntohs(rct->lan_id_and_LSDU_size) >> 12;
-}
-
/* assume there is a valid rct */
static inline bool prp_check_lsdu_size(struct sk_buff *skb,
struct prp_rct *rct,
--
2.34.1
Powered by blists - more mailing lists