Don't guard col_set_str (COL_PROTOCOL) with col_check
[obnox/wireshark/wip.git] / epan / dissectors / packet-gvrp.c
index d3063a9a1017621424742100a7d2371bd18d9182..c89818afb099ba8cbc4fb97e5821fa8592955c8c 100644 (file)
@@ -104,8 +104,7 @@ dissect_gvrp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
     guint8        octet;
     int           msg_index, attr_index, offset = 0, length = tvb_reported_length(tvb);
 
-    if (check_col(pinfo->cinfo, COL_PROTOCOL))
-       col_set_str(pinfo->cinfo, COL_PROTOCOL, "GVRP");
+    col_set_str(pinfo->cinfo, COL_PROTOCOL, "GVRP");
 
     if (check_col(pinfo->cinfo, COL_INFO))
        col_set_str(pinfo->cinfo, COL_INFO, "GVRP");