ath6kl: Remove struct hif_scatter_req_priv
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
diff --git a/drivers/net/wireless/ath/ath6kl/hif.h b/drivers/net/wireless/ath/ath6kl/hif.h
index ca40104..35f90a3 100644
--- a/drivers/net/wireless/ath/ath6kl/hif.h
+++ b/drivers/net/wireless/ath/ath6kl/hif.h
@@ -177,7 +177,8 @@
struct htc_endpoint *ep;
int scat_entries;
- struct hif_scatter_req_priv *req_priv;
+ struct bus_request *busrequest;
+ struct scatterlist *sgentries;
/* bounce buffer for upper layers to copy to/from */
u8 *virt_dma_buf;
@@ -190,11 +191,6 @@
int max_xfer_szper_scatreq;
};
-struct hif_scatter_req_priv {
- struct bus_request *busrequest;
- struct scatterlist sgentries[MAX_SCATTER_ENTRIES_PER_REQ];
-};
-
struct ath6kl_hif_ops {
int (*read_write_sync)(struct ath6kl *ar, u32 addr, u8 *buf,
u32 len, u32 request);