projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
560e08e
)
hsr: remove get_prp_lan_id()
author
Jakub Kicinski
<kuba@kernel.org>
Wed, 26 Jan 2022 19:11:01 +0000
(11:11 -0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 27 Jan 2022 13:53:27 +0000
(13:53 +0000)
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>
net/hsr/hsr_main.h
patch
|
blob
|
history
diff --git
a/net/hsr/hsr_main.h
b/net/hsr/hsr_main.h
index 043e4e9a1694544524f438386c5a9a1c0ecfb4d0..ff9ec7634218fff83713b1069b14e920ab06c1ab 100644
(file)
--- 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,