Don't guard col_set_str (COL_PROTOCOL) with col_check
[obnox/wireshark/wip.git] / epan / dissectors / packet-x2ap.c
index e4a80919b985367bd13916edcc36ea3ecff2ec07..d00170a2f3b57ea1f1244672535b16b61f4f3561 100644 (file)
@@ -3774,8 +3774,7 @@ dissect_x2ap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        proto_tree      *x2ap_tree = NULL;
 
        /* make entry in the Protocol column on summary display */
-       if (check_col(pinfo->cinfo, COL_PROTOCOL))
-               col_set_str(pinfo->cinfo, COL_PROTOCOL, "X2AP");
+       col_set_str(pinfo->cinfo, COL_PROTOCOL, "X2AP");
 
        /* create the x2ap protocol tree */
        x2ap_item = proto_tree_add_item(tree, proto_x2ap, tvb, 0, -1, FALSE);