[openib-general] [PATCH][13/19] kDAPL: Remove typedef DAT_SRQ_STATE

Tom Duffy Tom.Duffy at Sun.COM
Sun May 15 11:27:18 PDT 2005


Signed-off-by: Tom Duffy <tduffy at sun.com>

diff -Nurp -X /home/tduffy/dontdiff linux-kernel12/dat/dat.h linux-kernel13/dat/dat.h
--- linux-kernel12/dat/dat.h	2005-05-13 14:35:17.136006000 -0700
+++ linux-kernel13/dat/dat.h	2005-05-13 14:37:53.695001000 -0700
@@ -648,10 +648,10 @@ enum dat_ep_param_mask {
 #define DAT_HW_DEFAULT                                   DAT_WATERMARK_INFINITE
 #define DAT_SRQ_LW_DEFAULT                               0x0
 
-typedef enum dat_srq_state {
+enum dat_srq_state {
 	DAT_SRQ_STATE_OPERATIONAL,
 	DAT_SRQ_STATE_ERROR
-} DAT_SRQ_STATE;
+};
 
 #define DAT_VALUE_UNKNOWN (((int) ~0)-1)
 
@@ -663,7 +663,7 @@ struct dat_srq_attr {
 
 struct dat_srq_param {
 	DAT_IA_HANDLE ia_handle;
-	DAT_SRQ_STATE srq_state;
+	enum dat_srq_state srq_state;
 	DAT_PZ_HANDLE pz_handle;
 	int max_recv_dtos;
 	int max_recv_iov;




More information about the general mailing list