Don't guard col_set_str (COL_PROTOCOL) with col_check
[obnox/wireshark/wip.git] / plugins / sercosiii / packet-sercosiii_1v1_at.c
index eaf28f76bb95f40052a2f328ac04841c9c415730..81e284d0985d53264591894aba8c71c5f5ceb0fd 100644 (file)
@@ -145,8 +145,7 @@ void dissect_siii_at(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   phase = (tvb_get_guint8(tvb, 1)&0x8F); /* read communication phase out of SERCOS III header*/
   telno = (tvb_get_guint8(tvb, 0) & 0xF); /* read number of AT out of SERCOS III header */
 
-  if(check_col(pinfo->cinfo, COL_PROTOCOL))
-    col_set_str(pinfo->cinfo, COL_PROTOCOL, "SIII AT");
+  col_set_str(pinfo->cinfo, COL_PROTOCOL, "SIII AT");
 
   if(check_col(pinfo->cinfo, COL_INFO))
   {