]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
lib: remove unneeded struct for stats in private.h
authorVincent Bernat <bernat@luffy.cx>
Tue, 16 Apr 2013 21:55:02 +0000 (23:55 +0200)
committerVincent Bernat <bernat@luffy.cx>
Tue, 16 Apr 2013 21:55:02 +0000 (23:55 +0200)
src/lib/private.h

index 274caca0f51ae65db0099e4bf564251f184703f9..077f228c4d2ea51b67473b3f425d624ccb75696e 100644 (file)
@@ -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 */