Removed unused hf_pn_dcp and hf_pn_ptcp.
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 17 Oct 2010 16:49:10 +0000 (16:49 +0000)
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 17 Oct 2010 16:49:10 +0000 (16:49 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34544 f5534014-38df-0310-8fa8-9805f1628bb7

plugins/profinet/packet-pn-dcp.c
plugins/profinet/packet-pn-ptcp.c

index 3dfa7d4c4d88072685fd122151beb05f423da672..d13678605ba828cebea01584d58588d16124d031 100644 (file)
@@ -46,8 +46,6 @@
 
 static int proto_pn_dcp = -1;
 
 
 static int proto_pn_dcp = -1;
 
-static int hf_pn_dcp = -1;
-
 static int hf_pn_dcp_service_id = -1;
 static int hf_pn_dcp_service_type = -1;
 static int hf_pn_dcp_xid = -1;
 static int hf_pn_dcp_service_id = -1;
 static int hf_pn_dcp_service_type = -1;
 static int hf_pn_dcp_xid = -1;
@@ -948,8 +946,6 @@ void
 proto_register_pn_dcp (void)
 {
     static hf_register_info hf[] = {
 proto_register_pn_dcp (void)
 {
     static hf_register_info hf[] = {
-    { &hf_pn_dcp,
-        { "PROFINET DCP", "pn_dcp", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL }},
     { &hf_pn_dcp_service_id,
         { "ServiceID", "pn_dcp.service_id", FT_UINT8, BASE_DEC, VALS(pn_dcp_service_id), 0x0, NULL, HFILL }},
     { &hf_pn_dcp_service_type,
     { &hf_pn_dcp_service_id,
         { "ServiceID", "pn_dcp.service_id", FT_UINT8, BASE_DEC, VALS(pn_dcp_service_id), 0x0, NULL, HFILL }},
     { &hf_pn_dcp_service_type,
index c64e70da9bf9216daa63f008669e6f2c9cc1e976..4212ae4935ceed8008fb0c5fc2b46d36dc65246f 100644 (file)
@@ -43,7 +43,6 @@
 
 static int proto_pn_ptcp = -1;
 
 
 static int proto_pn_ptcp = -1;
 
-static int hf_pn_ptcp = -1;
 static int hf_pn_ptcp_header = -1;
 static int hf_pn_ptcp_block = -1;
 static int hf_pn_ptcp_block_tlvheader = -1;
 static int hf_pn_ptcp_header = -1;
 static int hf_pn_ptcp_block = -1;
 static int hf_pn_ptcp_block_tlvheader = -1;
@@ -832,8 +831,6 @@ void
 proto_register_pn_ptcp (void)
 {
        static hf_register_info hf[] = {
 proto_register_pn_ptcp (void)
 {
        static hf_register_info hf[] = {
-       { &hf_pn_ptcp,
-               { "PROFINET PTCP", "pn_ptcp", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL }},
        { &hf_pn_ptcp_header,
         { "Header", "pn_ptcp.header", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL }},
        { &hf_pn_ptcp_block,
        { &hf_pn_ptcp_header,
         { "Header", "pn_ptcp.header", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL }},
        { &hf_pn_ptcp_block,