tipc: remove calls to dbg() and msg_dbg()
[deliverable/linux.git] / net / tipc / config.c
index afa6e853c04be8e3ae8cc26a57e1b97017edab80..a7894ff77ae99051bb3bbc99dddf7065c7bf0072 100644 (file)
@@ -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));
This page took 0.025621 seconds and 5 git commands to generate.