summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-enttec.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-06-14 01:02:11 +0000
committerMichael Mann <mmann78@netscape.net>2013-06-14 01:02:11 +0000
commit0f0c111119811cf1c6c9353efdaaef302aca5930 (patch)
tree1184b3876ae3b638c401313def0c8172b475b3f0 /epan/dissectors/packet-enttec.c
parentaf02ac36ac6dd2d6b97c904db7cc26e8395230e0 (diff)
downloadwireshark-0f0c111119811cf1c6c9353efdaaef302aca5930.tar.gz
Remove check_col() and the occasional tree.
svn path=/trunk/; revision=49920
Diffstat (limited to 'epan/dissectors/packet-enttec.c')
-rw-r--r--epan/dissectors/packet-enttec.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/dissectors/packet-enttec.c b/epan/dissectors/packet-enttec.c
index f49dfbe034..048b0e1195 100644
--- a/epan/dissectors/packet-enttec.c
+++ b/epan/dissectors/packet-enttec.c
@@ -353,10 +353,8 @@ dissect_enttec(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _
head = tvb_get_ntohl(tvb, offset);
/* Clear out stuff in the info column */
- if (check_col(pinfo->cinfo,COL_INFO)) {
- col_add_fstr(pinfo->cinfo, COL_INFO, "%s",
+ col_add_fstr(pinfo->cinfo, COL_INFO, "%s",
val_to_str(head, enttec_head_vals, "Unknown (0x%08x)"));
- }
if (tree) {
ti = proto_tree_add_item(tree, proto_enttec, tvb, offset, -1, ENC_NA);