summaryrefslogtreecommitdiff
path: root/device
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2014-02-05 14:50:27 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2014-02-05 14:51:30 +0100
commite5b90c13cb7d762a52f81c110ca5cc53eb16ac7b (patch)
treee52a04a22b030cdbe059ccc4f5f96e6da8332dc8 /device
parent61104ec0056504e675d7096e23c9de3f7fdda2ff (diff)
Remove duplicate typedef
* device/net_io.c (net_rcv_port_t, net_hash_entry_t, net_hash_header_t): Remove duplicate typedefs.
Diffstat (limited to 'device')
-rw-r--r--device/net_io.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/device/net_io.c b/device/net_io.c
index 68dcc096..e758f2d6 100644
--- a/device/net_io.c
+++ b/device/net_io.c
@@ -301,7 +301,6 @@ struct net_rcv_port {
filter_t filter[NET_MAX_FILTER];
/* filter operations */
};
-typedef struct net_rcv_port *net_rcv_port_t;
struct kmem_cache net_rcv_cache; /* cache of net_rcv_port structs */
@@ -320,7 +319,6 @@ struct net_hash_entry {
int rcv_qlimit; /* qlimit for the port */
unsigned int keys[N_NET_HASH_KEYS];
};
-typedef struct net_hash_entry *net_hash_entry_t;
struct kmem_cache net_hash_entry_cache;
@@ -339,8 +337,6 @@ struct net_hash_header {
net_hash_entry_t table[NET_HASH_SIZE];
} filter_hash_header[N_NET_HASH];
-typedef struct net_hash_header *net_hash_header_t;
-
decl_simple_lock_data(,net_hash_header_lock)
#define HASH_ITERATE(head, elt) (elt) = (net_hash_entry_t) (head); do {