summaryrefslogtreecommitdiff
path: root/plugins/wimax/wimax_compact_ulmap_ie_decoder.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2010-04-08 15:21:07 +0000
committerAnders Broman <anders.broman@ericsson.com>2010-04-08 15:21:07 +0000
commita10b76a99b9d620ca3ca2769ca2e8d15ce50d35d (patch)
tree6f0eceb48ceaaee882149c02988b01e618d01997 /plugins/wimax/wimax_compact_ulmap_ie_decoder.c
parent441c3f63b2d508910e1b18491899c3aa1b8b502a (diff)
downloadwireshark-a10b76a99b9d620ca3ca2769ca2e8d15ce50d35d.tar.gz
Get rid of check_col().
svn path=/trunk/; revision=32426
Diffstat (limited to 'plugins/wimax/wimax_compact_ulmap_ie_decoder.c')
-rw-r--r--plugins/wimax/wimax_compact_ulmap_ie_decoder.c30
1 files changed, 6 insertions, 24 deletions
diff --git a/plugins/wimax/wimax_compact_ulmap_ie_decoder.c b/plugins/wimax/wimax_compact_ulmap_ie_decoder.c
index 183c03e651..f389c825cd 100644
--- a/plugins/wimax/wimax_compact_ulmap_ie_decoder.c
+++ b/plugins/wimax/wimax_compact_ulmap_ie_decoder.c
@@ -388,10 +388,7 @@ guint wimax_compact_ulmap_ie_decoder(proto_tree *tree, packet_info *pinfo, tvbuf
#ifdef DEBUG
/* update the info column */
- if (check_col(pinfo->cinfo, COL_INFO))
- {
- col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "Compact UL-MAP IEs");
- }
+ col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "Compact UL-MAP IEs");
#endif
/* set the local offset */
ul_map_offset = offset;
@@ -978,10 +975,7 @@ static guint wimax_compact_ulmap_rcid_ie_decoder(proto_tree *tree, packet_info *
#ifdef DEBUG
/* update the info column */
- if (check_col(pinfo->cinfo, COL_INFO))
- {
- col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "RCID IE");
- }
+ col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "RCID IE");
#endif
if(nibble_offset & 1)
{
@@ -1068,10 +1062,7 @@ static guint wimax_compact_ulmap_harq_control_ie_decoder(proto_tree *tree, packe
#ifdef DEBUG
/* update the info column */
- if (check_col(pinfo->cinfo, COL_INFO))
- {
- col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "HARQ Control IE");
- }
+ col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "HARQ Control IE");
#endif
/* Get the first byte */
byte = tvb_get_guint8(tvb, offset);
@@ -1134,10 +1125,7 @@ static guint wimax_culmap_extension_ie_decoder(proto_tree *tree, packet_info *pi
#ifdef DEBUG
/* update the info column */
- if (check_col(pinfo->cinfo, COL_INFO))
- {
- col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "UL-MAP Extension IE");
- }
+ col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "UL-MAP Extension IE");
#endif
/* Get the first 16-bit word */
tvb_value = tvb_get_ntohs(tvb, offset);
@@ -1213,10 +1201,7 @@ guint wimax_cdma_allocation_ie_decoder(proto_tree *tree, packet_info *pinfo _U_,
#ifdef DEBUG
/* update the info column */
- if (check_col(pinfo->cinfo, COL_INFO))
- {
- col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "CDMA Allocation IE");
- }
+ col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "CDMA Allocation IE");
#endif
/* Get the first byte */
byte = tvb_get_guint8(tvb, offset);
@@ -1281,10 +1266,7 @@ guint wimax_extended_uiuc_dependent_ie_decoder(proto_tree *tree, packet_info *pi
#ifdef DEBUG
/* update the info column */
- if (check_col(pinfo->cinfo, COL_INFO))
- {
- col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "Extended UIUC IE");
- }
+ col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "Extended UIUC IE");
#endif
/* get the first byte */