Don't guard col_set_str (COL_PROTOCOL) with col_check
[obnox/wireshark/wip.git] / epan / dissectors / packet-sbus.c
index 7125ed6b467fb719797e1d9c0f852ef9477269f8..3928becd04952dc57c06a68bb44bce1eaae8150c 100644 (file)
@@ -628,8 +628,7 @@ dissect_sbus(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 /* End of attaching data to hash table*/
        
 /* Make entries in Protocol column and Info column on summary display */
-       if (check_col(pinfo->cinfo, COL_PROTOCOL)) 
-              col_set_str(pinfo->cinfo, COL_PROTOCOL, "S-Bus");
+       col_set_str(pinfo->cinfo, COL_PROTOCOL, "S-Bus");
 
        if (check_col(pinfo->cinfo, COL_INFO)) 
               col_clear(pinfo->cinfo, COL_INFO);