From ecb92d57646e683197577cebf8ea873fa09c5272 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Tue, 16 Apr 2013 23:55:02 +0200 Subject: [PATCH] lib: remove unneeded struct for stats in private.h --- src/lib/private.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/lib/private.h b/src/lib/private.h index 274caca0..077f228c 100644 --- a/src/lib/private.h +++ b/src/lib/private.h @@ -86,7 +86,6 @@ typedef enum { atom_config, atom_interfaces_list, atom_interface, - atom_hardware, atom_ports_list, atom_port, atom_mgmts_list, @@ -111,7 +110,6 @@ typedef enum { atom_med_caelement, atom_med_power, #endif - atom_interface_stats, } atom_t; void *_lldpctl_alloc_in_atom(lldpctl_atom_t *, size_t); @@ -165,18 +163,6 @@ struct _lldpctl_atom_interface_t { char *name; }; -struct _lldpctl_atom_hardware_t { - lldpctl_atom_t base; - char *name; - u_int64_t h_tx_cnt; - u_int64_t h_rx_cnt; - u_int64_t h_rx_discarded_cnt; - u_int64_t h_rx_unrecognized_cnt; - u_int64_t h_ageout_cnt; - u_int64_t h_insert_cnt; - u_int64_t h_delete_cnt; -}; - struct _lldpctl_atom_port_t { lldpctl_atom_t base; struct lldpd_hardware *hardware; /* Local port only */ -- 2.39.5