mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 21:51:05 +00:00
tipc: remove unnecessary wrapper functions of kernel timer APIs
Not only some wrapper function like k_term_timer() is empty, but also some others including k_start_timer() and k_cancel_timer() don't return back any value to its caller, what's more, there is no any component in the kernel world to do such thing. Therefore, these timer interfaces defined in tipc module should be purged. Signed-off-by: Ying Xue <ying.xue@windriver.com> Tested-by: Tero Aho <Tero.Aho@coriant.com> Reviewed-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
6b8326ed14
commit
2f55c43788
8 changed files with 50 additions and 118 deletions
|
@ -77,12 +77,10 @@
|
|||
|
||||
#define TIPC_MEDIA_ADDR_OFFSET 5
|
||||
|
||||
|
||||
struct tipc_msg {
|
||||
__be32 hdr[15];
|
||||
};
|
||||
|
||||
|
||||
static inline u32 msg_word(struct tipc_msg *m, u32 pos)
|
||||
{
|
||||
return ntohl(m->hdr[pos]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue