Remove check_col() guard
[metze/wireshark/wip.git] / asn1 / pkixcmp / packet-cmp-template.c
index 6c99a11c5747902b0954ba50aa74c3494e6b7862..1fa3a5f9224e10a3a257ac3e57927aa9073b8965 100644 (file)
@@ -124,9 +124,7 @@ static int dissect_cmp_tcp_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *pa
 
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "CMP");
 
-       if (check_col(pinfo->cinfo, COL_INFO)) {
-               col_set_str(pinfo->cinfo, COL_INFO, "PKIXCMP");
-       }
+       col_set_str(pinfo->cinfo, COL_INFO, "PKIXCMP");
 
        if(parent_tree){
                item=proto_tree_add_item(parent_tree, proto_cmp, tvb, 0, -1, FALSE);
@@ -293,9 +291,7 @@ dissect_cmp_http(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
 
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "CMP");
 
-       if (check_col(pinfo->cinfo, COL_INFO)) {
-               col_set_str(pinfo->cinfo, COL_INFO, "PKIXCMP");
-       }
+       col_set_str(pinfo->cinfo, COL_INFO, "PKIXCMP");
 
        if(parent_tree){
                item=proto_tree_add_item(parent_tree, proto_cmp, tvb, 0, -1, FALSE);