Commit def85c00 authored by Vasanthakumar Thiagarajan's avatar Vasanthakumar Thiagarajan Committed by Kalle Valo

ath6kl: Cleanup ath6kl_sdio_enable_scatter()

Signed-off-by: default avatarVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 3df505ad
...@@ -342,9 +342,10 @@ static void ath6kl_sdio_cleanup_scat_resource(struct ath6kl_sdio *ar_sdio) ...@@ -342,9 +342,10 @@ static void ath6kl_sdio_cleanup_scat_resource(struct ath6kl_sdio *ar_sdio)
} }
/* setup of HIF scatter resources */ /* setup of HIF scatter resources */
static int ath6kl_sdio_setup_scat_resource(struct ath6kl_sdio *ar_sdio, static int ath6kl_sdio_enable_scatter(struct ath6kl *ar,
struct hif_dev_scat_sup_info *pinfo) struct hif_dev_scat_sup_info *pinfo)
{ {
struct ath6kl_sdio *ar_sdio = ath6kl_sdio_priv(ar);
int ret = 0; int ret = 0;
/* check if host supports scatter and it meets our requirements */ /* check if host supports scatter and it meets our requirements */
...@@ -626,17 +627,6 @@ static void ath6kl_sdio_scatter_req_add(struct ath6kl *ar, ...@@ -626,17 +627,6 @@ static void ath6kl_sdio_scatter_req_add(struct ath6kl *ar,
} }
static int ath6kl_sdio_enable_scatter(struct ath6kl *ar,
struct hif_dev_scat_sup_info *info)
{
struct ath6kl_sdio *ar_sdio = ath6kl_sdio_priv(ar);
int ret;
ret = ath6kl_sdio_setup_scat_resource(ar_sdio, info);
return ret;
}
/* scatter gather read write request */ /* scatter gather read write request */
static int ath6kl_sdio_async_rw_scatter(struct ath6kl *ar, static int ath6kl_sdio_async_rw_scatter(struct ath6kl *ar,
struct hif_scatter_req *scat_req) struct hif_scatter_req *scat_req)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment