mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 10:44:14 +08:00
hsr: remove get_prp_lan_id()
get_prp_lan_id() has never been used. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
560e08eda7
commit
0ab1e6d9a4
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user