瀏覽代碼

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 年之前
父節點
當前提交
b2bad08740
共有 1 個文件被更改,包括 4 次插入3 次删除
  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
-typedef struct {
+/* XXX: unused ? */
+struct window_snapshot {
     u16 seqno_st;
     u16 seqno_end;
-}WINDOW_SNAPSHOT;
+};
 #endif
 
 struct rxtid {
@@ -82,7 +83,7 @@ struct rxtid {
     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 */
 #if 0    
-    WINDOW_SNAPSHOT     old_win;    /* Sliding window snapshot - for timeout */
+    struct window_snapshot     old_win;    /* Sliding window snapshot - for timeout */
 #endif    
     A_NETBUF_QUEUE_T    q;          /* q head for enqueuing frames for dispatch */
     A_MUTEX_T           lock;