ath6kl: Remove useless flags in hif_scatter_req
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Sat, 16 Jul 2011 14:59:08 +0000 (20:29 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 9 Aug 2011 16:45:19 +0000 (19:45 +0300)
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/hif.h
drivers/net/wireless/ath/ath6kl/htc.c
drivers/net/wireless/ath/ath6kl/htc.h

index 35f90a3b5a8b5a415dbc9b0ef9b7869bef6caeef..f17ae57ee3038f2d2dff9a23ea2551b4d9af7546 100644 (file)
@@ -171,7 +171,6 @@ struct hif_scatter_req {
        /* total length of entire transfer */
        u32 len;
 
-       u32 flags;
        void (*complete) (struct hif_scatter_req *);
        int status;
        struct htc_endpoint *ep;
index 95c47bbd1d788760d8843e6537f69b0820aa1465..e65de498a825e9a0bad16cd0c76083c24491f3b0 100644 (file)
@@ -1563,12 +1563,6 @@ static int htc_issue_rxpkt_bundle(struct htc_target *target,
        if (scat_req == NULL)
                goto fail_rx_pkt;
 
-       scat_req->flags = 0;
-
-       if (part_bundle)
-               scat_req->flags |=
-                   HTC_SCAT_REQ_FLG_PART_BNDL;
-
        for (i = 0; i < n_scat_pkt; i++) {
                int pad_len;
 
index 16fa7a84a23117abd5dd99e11119fa115963b84e..ff0ed6fe7ee8fe05a7ce0a111de757ea0973f44e 100644 (file)
 #define HTC_RX_PKT_PART_OF_BUNDLE        (1 << 2)
 #define HTC_RX_PKT_NO_RECYCLE            (1 << 3)
 
-/* scatter request flags */
-
-#define HTC_SCAT_REQ_FLG_PART_BNDL  (1 << 0)
-
 #define NUM_CONTROL_BUFFERS     8
 #define NUM_CONTROL_TX_BUFFERS  2
 #define NUM_CONTROL_RX_BUFFERS  (NUM_CONTROL_BUFFERS - NUM_CONTROL_TX_BUFFERS)