Răsfoiți Sursa

ath6kl: remove-typedef WINDOW_SNAPSHOT

remove-typedef -s WINDOW_SNAPSHOT \
	"struct window_snapshot" drivers/staging/ath6kl/

Tested-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Luis R. Rodriguez 14 ani în urmă
părinte
comite
b2bad08740
1 a modificat fișierele cu 4 adăugiri și 3 ștergeri
  1. 4 3
      drivers/staging/ath6kl/reorder/aggr_rx_internal.h

+ 4 - 3
drivers/staging/ath6kl/reorder/aggr_rx_internal.h

@@ -67,10 +67,11 @@ struct osbuf_hold_q {
 
 
 
 
 #if 0
 #if 0
-typedef struct {
+/* XXX: unused ? */
+struct window_snapshot {
     u16 seqno_st;
     u16 seqno_st;
     u16 seqno_end;
     u16 seqno_end;
-}WINDOW_SNAPSHOT;
+};
 #endif
 #endif
 
 
 struct rxtid {
 struct rxtid {
@@ -82,7 +83,7 @@ struct rxtid {
     u32 hold_q_sz;  /* Num of frames that can be held in hold q */
     u32 hold_q_sz;  /* Num of frames that can be held in hold q */
     struct osbuf_hold_q        *hold_q;    /* Hold q for re-order */
     struct osbuf_hold_q        *hold_q;    /* Hold q for re-order */
 #if 0    
 #if 0    
-    WINDOW_SNAPSHOT     old_win;    /* Sliding window snapshot - for timeout */
+    struct window_snapshot     old_win;    /* Sliding window snapshot - for timeout */
 #endif    
 #endif    
     A_NETBUF_QUEUE_T    q;          /* q head for enqueuing frames for dispatch */
     A_NETBUF_QUEUE_T    q;          /* q head for enqueuing frames for dispatch */
     A_MUTEX_T           lock;
     A_MUTEX_T           lock;