Commit 0ab1e6d9 authored by Jakub Kicinski's avatar Jakub Kicinski Committed by David S. Miller

hsr: remove get_prp_lan_id()

get_prp_lan_id() has never been used.
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 560e08ed
...@@ -259,11 +259,6 @@ static inline u16 prp_get_skb_sequence_nr(struct prp_rct *rct) ...@@ -259,11 +259,6 @@ static inline u16 prp_get_skb_sequence_nr(struct prp_rct *rct)
return ntohs(rct->sequence_nr); 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 */ /* assume there is a valid rct */
static inline bool prp_check_lsdu_size(struct sk_buff *skb, static inline bool prp_check_lsdu_size(struct sk_buff *skb,
struct prp_rct *rct, struct prp_rct *rct,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment