aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/tipc/config.h')
-rw-r--r--net/tipc/config.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/net/tipc/config.h b/net/tipc/config.h
index 5cd7cc56c54d..443159a166fd 100644
--- a/net/tipc/config.h
+++ b/net/tipc/config.h
@@ -39,13 +39,11 @@
39 39
40/* ---------------------------------------------------------------------- */ 40/* ---------------------------------------------------------------------- */
41 41
42#include "core.h"
43#include "link.h" 42#include "link.h"
44 43
45struct sk_buff *tipc_cfg_reply_alloc(int payload_size); 44struct sk_buff *tipc_cfg_reply_alloc(int payload_size);
46int tipc_cfg_append_tlv(struct sk_buff *buf, int tlv_type, 45int tipc_cfg_append_tlv(struct sk_buff *buf, int tlv_type,
47 void *tlv_data, int tlv_data_size); 46 void *tlv_data, int tlv_data_size);
48struct sk_buff *tipc_cfg_reply_unsigned_type(u16 tlv_type, u32 value);
49struct sk_buff *tipc_cfg_reply_string_type(u16 tlv_type, char *string); 47struct sk_buff *tipc_cfg_reply_string_type(u16 tlv_type, char *string);
50 48
51static inline struct sk_buff *tipc_cfg_reply_none(void) 49static inline struct sk_buff *tipc_cfg_reply_none(void)
@@ -53,11 +51,6 @@ static inline struct sk_buff *tipc_cfg_reply_none(void)
53 return tipc_cfg_reply_alloc(0); 51 return tipc_cfg_reply_alloc(0);
54} 52}
55 53
56static inline struct sk_buff *tipc_cfg_reply_unsigned(u32 value)
57{
58 return tipc_cfg_reply_unsigned_type(TIPC_TLV_UNSIGNED, value);
59}
60
61static inline struct sk_buff *tipc_cfg_reply_error_string(char *string) 54static inline struct sk_buff *tipc_cfg_reply_error_string(char *string)
62{ 55{
63 return tipc_cfg_reply_string_type(TIPC_TLV_ERROR_STRING, string); 56 return tipc_cfg_reply_string_type(TIPC_TLV_ERROR_STRING, string);