aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/config.c
diff options
context:
space:
mode:
authorAllan Stephens <Allan.Stephens@windriver.com>2010-12-31 18:59:25 +0000
committerDavid S. Miller <davem@davemloft.net>2011-01-01 13:57:52 -0800
commitb29f14284989b3d0b3a5ce268b5b1fc4df9c5795 (patch)
treea690fc7db347cb8ca2b38dc1da73a477d1fb4779 /net/tipc/config.c
parenttipc: rename dbg.[ch] to log.[ch] (diff)
downloadlinux-dev-b29f14284989b3d0b3a5ce268b5b1fc4df9c5795.tar.xz
linux-dev-b29f14284989b3d0b3a5ce268b5b1fc4df9c5795.zip
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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/tipc/config.c b/net/tipc/config.c
index afa6e853c04b..a7894ff77ae9 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));