diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-09-24 20:00:21 +0000 |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-09-24 20:00:21 +0000 |
commit | 65c53fedb6c2a23295d280d8971f03c05343dc7d (patch) | |
tree | 38f6f77786d5869ee199e3e8fd80f0968be1b575 /plugins/m2m/packet-m2m.c | |
parent | cf8138e19504c72fb7874708442cffe1e84a145f (diff) | |
download | wireshark-65c53fedb6c2a23295d280d8971f03c05343dc7d.tar.gz |
Don't guard col_append_str with check_col
svn path=/trunk/; revision=30125
Diffstat (limited to 'plugins/m2m/packet-m2m.c')
-rw-r--r-- | plugins/m2m/packet-m2m.c | 35 |
1 files changed, 7 insertions, 28 deletions
diff --git a/plugins/m2m/packet-m2m.c b/plugins/m2m/packet-m2m.c index dc8a540d14..a5ecd14d4c 100644 --- a/plugins/m2m/packet-m2m.c +++ b/plugins/m2m/packet-m2m.c @@ -401,10 +401,7 @@ static void fch_burst_decoder(proto_tree *tree, tvbuff_t *tvb, gint offset, gint } else /* display FCH info */ { /* update the info column */ - if (check_col(pinfo->cinfo, COL_INFO)) - { - col_append_str(pinfo->cinfo, COL_INFO, "FCH Burst: DL Frame Prefix"); - } + col_append_str(pinfo->cinfo, COL_INFO, "FCH Burst: DL Frame Prefix"); } } @@ -417,10 +414,7 @@ static void cdma_code_decoder(proto_tree *tree, tvbuff_t *tvb, gint offset, gint } else /* display CDMA Code Attribute info */ { /* update the info column */ - if (check_col(pinfo->cinfo, COL_INFO)) - { - col_append_str(pinfo->cinfo, COL_INFO, "CDMA Code Attribute"); - } + col_append_str(pinfo->cinfo, COL_INFO, "CDMA Code Attribute"); } } @@ -482,10 +476,7 @@ static void pdu_burst_decoder(proto_tree *tree, tvbuff_t *tvb, gint offset, gint } else /* display PDU Burst info */ { /* update the info column */ - if (check_col(pinfo->cinfo, COL_INFO)) - { - col_append_str(pinfo->cinfo, COL_INFO, "PDU Burst"); - } + col_append_str(pinfo->cinfo, COL_INFO, "PDU Burst"); } } } @@ -499,10 +490,7 @@ static void fast_feedback_burst_decoder(proto_tree *tree, tvbuff_t *tvb, gint of } else /* display the Fast Feedback Burst info */ { /* update the info column */ - if (check_col(pinfo->cinfo, COL_INFO)) - { - col_append_str(pinfo->cinfo, COL_INFO, "Fast Feedback Burst"); - } + col_append_str(pinfo->cinfo, COL_INFO, "Fast Feedback Burst"); } } @@ -514,10 +502,7 @@ static void harq_ack_bursts_decoder(proto_tree *tree, tvbuff_t *tvb, gint offset } else /* display the TLV HARQ ACK Bursts info */ { /* update the info column */ - if (check_col(pinfo->cinfo, COL_INFO)) - { - col_append_str(pinfo->cinfo, COL_INFO, "HARQ ACK Bursts"); - } + col_append_str(pinfo->cinfo, COL_INFO, "HARQ ACK Bursts"); } } @@ -529,10 +514,7 @@ static void physical_attributes_decoder(proto_tree *tree, tvbuff_t *tvb, gint of } else /* display the TLV PDU Burst Physical Attributes info */ { /* update the info column */ - if (check_col(pinfo->cinfo, COL_INFO)) - { - col_append_str(pinfo->cinfo, COL_INFO, "PHY-attr"); - } + col_append_str(pinfo->cinfo, COL_INFO, "PHY-attr"); } } @@ -540,10 +522,7 @@ static void extended_tlv_decoder(packet_info *pinfo) { /* display the Extended TLV info */ /* update the info column */ - if (check_col(pinfo->cinfo, COL_INFO)) - { - col_append_str(pinfo->cinfo, COL_INFO, "Extended TLV"); - } + col_append_str(pinfo->cinfo, COL_INFO, "Extended TLV"); } /* Display the raw WiMax TLV */ |