ath6kl: Remove ath6kldev_setup_msg_bndl()
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Sat, 16 Jul 2011 14:59:18 +0000 (20:29 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 9 Aug 2011 16:45:20 +0000 (19:45 +0300)
Use appropriate hif function directly.

Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/htc.c
drivers/net/wireless/ath/ath6kl/htc_hif.c
drivers/net/wireless/ath/ath6kl/htc_hif.h

index e77e7684ee9ba0c7ace8c101f41639aa8e5ae112..a359332b87fcc21438a701f1d1094655e6cdd056 100644 (file)
@@ -2175,7 +2175,7 @@ static void htc_setup_msg_bndl(struct htc_target *target)
        target->msg_per_bndl_max = min(HTC_HOST_MAX_MSG_PER_BUNDLE,
                                       target->msg_per_bndl_max);
 
-       if (ath6kldev_setup_msg_bndl(target->dev, target->msg_per_bndl_max)) {
+       if (ath6kl_hif_enable_scatter(target->dev->ar, scat_info)) {
                target->msg_per_bndl_max = 0;
                return;
        }
index c5fb78b429bc6a190cfe4ec5e79f201ff445b94d..003fe0abb3527ce00563243bf2ce59a8703bbb08 100644 (file)
@@ -216,11 +216,6 @@ int ath6kldev_submit_scat_req(struct ath6kl_device *dev,
        return status;
 }
 
-int ath6kldev_setup_msg_bndl(struct ath6kl_device *dev, int max_msg_per_trans)
-{
-       return ath6kl_hif_enable_scatter(dev->ar, &dev->hif_scat_info);
-}
-
 static int ath6kldev_proc_counter_intr(struct ath6kl_device *dev)
 {
        u8 counter_int_status;
index 4cab5fbf1299139ec34ef8a59c6300559acb0e3b..5e65f1e28d16f81339faf815cd7478d268e645b5 100644 (file)
@@ -103,7 +103,6 @@ int ath6kldev_rw_comp_handler(void *context, int status);
 int ath6kldev_intr_bh_handler(struct ath6kl *ar);
 
 /* Scatter Function and Definitions */
-int ath6kldev_setup_msg_bndl(struct ath6kl_device *dev, int max_msg_per_xfer);
 int ath6kldev_submit_scat_req(struct ath6kl_device *dev,
                            struct hif_scatter_req *scat_req, bool read);