diff options
author | Allan Stephens <Allan.Stephens@windriver.com> | 2010-12-31 18:59:25 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-01 13:57:52 -0800 |
commit | b29f14284989b3d0b3a5ce268b5b1fc4df9c5795 (patch) | |
tree | a690fc7db347cb8ca2b38dc1da73a477d1fb4779 /net/tipc/config.c | |
parent | f5e75269f59f7c3816f23314b924895e4ecf8409 (diff) |
tipc: remove calls to dbg() and msg_dbg()
Eliminates obsolete calls to two of TIPC's main debugging macros, as well
as a pair of associated debugging routines that are no longer required.
Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/config.c')
-rw-r--r-- | net/tipc/config.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/tipc/config.c b/net/tipc/config.c index afa6e853c04..a7894ff77ae 100644 --- a/net/tipc/config.c +++ b/net/tipc/config.c @@ -65,10 +65,8 @@ int tipc_cfg_append_tlv(struct sk_buff *buf, int tlv_type, struct tlv_desc *tlv = (struct tlv_desc *)skb_tail_pointer(buf); int new_tlv_space = TLV_SPACE(tlv_data_size); - if (skb_tailroom(buf) < new_tlv_space) { - dbg("tipc_cfg_append_tlv unable to append TLV\n"); + if (skb_tailroom(buf) < new_tlv_space) return 0; - } skb_put(buf, new_tlv_space); tlv->tlv_type = htons(tlv_type); tlv->tlv_len = htons(TLV_LENGTH(tlv_data_size)); |