aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/wimaxasncp
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-08-09 08:14:59 +0000
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-08-09 08:14:59 +0000
commitac463d2697d3beb50fd24bbf48f818724f5220f6 (patch)
treee77267cdd463c269c8fb7bbefda18517ed363cbb /plugins/wimaxasncp
parent6110a96f689d51c92c5b00b4dfda3a9cd6916a25 (diff)
Don't guard col_clear with col_check
svn path=/trunk/; revision=29346
Diffstat (limited to 'plugins/wimaxasncp')
-rw-r--r--plugins/wimaxasncp/packet-wimaxasncp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/wimaxasncp/packet-wimaxasncp.c b/plugins/wimaxasncp/packet-wimaxasncp.c
index 375765eabd..cdb56b3a20 100644
--- a/plugins/wimaxasncp/packet-wimaxasncp.c
+++ b/plugins/wimaxasncp/packet-wimaxasncp.c
@@ -2004,10 +2004,7 @@ dissect_wimaxasncp(
/* We'll fill in the "Info" column after fetch data, so we clear the
column first in case calls to fetch data from the packet throw an
exception. */
- if (check_col(pinfo->cinfo, COL_INFO))
- {
- col_clear(pinfo->cinfo, COL_INFO);
- }
+ col_clear(pinfo->cinfo, COL_INFO);
/* ========================================================================
* Disesction starts here