From e5b90c13cb7d762a52f81c110ca5cc53eb16ac7b Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 5 Feb 2014 14:50:27 +0100 Subject: Remove duplicate typedef * device/net_io.c (net_rcv_port_t, net_hash_entry_t, net_hash_header_t): Remove duplicate typedefs. --- device/net_io.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'device') diff --git a/device/net_io.c b/device/net_io.c index 68dcc09..e758f2d 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 { -- cgit v1.2.3