From 0a5b014cecf14ec1bea5c87b0ffb5c2f7fa366a1 Mon Sep 17 00:00:00 2001 From: Kovarththanan Rajaratnam Date: Sun, 9 Aug 2009 07:36:13 +0000 Subject: Don't guard col_clear with col_check svn path=/trunk/; revision=29344 --- plugins/ethercat/packet-ioraw.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/ethercat/packet-ioraw.c') diff --git a/plugins/ethercat/packet-ioraw.c b/plugins/ethercat/packet-ioraw.c index 780451181e..ce23661111 100644 --- a/plugins/ethercat/packet-ioraw.c +++ b/plugins/ethercat/packet-ioraw.c @@ -71,8 +71,7 @@ static void dissect_ioraw(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) col_set_str(pinfo->cinfo, COL_PROTOCOL, "IO-RAW"); - if (check_col(pinfo->cinfo, COL_INFO)) - col_clear(pinfo->cinfo, COL_INFO); + col_clear(pinfo->cinfo, COL_INFO); IoRawSummaryFormater(szText, nMax); -- cgit v1.2.1