mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_lro.[ch]
The Linux Coding Style enumerates a few special cases where typedefs are useful, but stresses "NEVER EVER use a typedef unless you can clearly match one of those rules." The hdd_adapter_t typedef does not meet any of those criteria, so replace references to it with a reference to the underlying struct. Change-Id: Iec3c0b0b2e59ac05ad352f5b4e6e2b4528a8b5be CRs-Fixed: 2101051
This commit is contained in:
parent
8cb9df1092
commit
a56e968a35
2 changed files with 3 additions and 3 deletions
|
|
@ -48,7 +48,7 @@ enum hdd_lro_rx_status {
|
|||
int hdd_lro_init(struct hdd_context *hdd_ctx);
|
||||
|
||||
enum hdd_lro_rx_status hdd_lro_rx(struct hdd_context *hdd_ctx,
|
||||
hdd_adapter_t *adapter, struct sk_buff *skb);
|
||||
struct hdd_adapter *adapter, struct sk_buff *skb);
|
||||
void hdd_lro_display_stats(struct hdd_context *hdd_ctx);
|
||||
#else
|
||||
static inline int hdd_lro_init(struct hdd_context *hdd_ctx)
|
||||
|
|
@ -57,7 +57,7 @@ static inline int hdd_lro_init(struct hdd_context *hdd_ctx)
|
|||
}
|
||||
|
||||
static inline enum hdd_lro_rx_status hdd_lro_rx(struct hdd_context *hdd_ctx,
|
||||
hdd_adapter_t *adapter, struct sk_buff *skb)
|
||||
struct hdd_adapter *adapter, struct sk_buff *skb)
|
||||
{
|
||||
return HDD_LRO_NO_RX;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ static qdf_lro_ctx_t wlan_hdd_get_lro_ctx(struct sk_buff *skb)
|
|||
* HDD_LRO_NO_RX - frame not delivered
|
||||
*/
|
||||
enum hdd_lro_rx_status hdd_lro_rx(struct hdd_context *hdd_ctx,
|
||||
hdd_adapter_t *adapter, struct sk_buff *skb)
|
||||
struct hdd_adapter *adapter, struct sk_buff *skb)
|
||||
{
|
||||
qdf_lro_ctx_t ctx;
|
||||
enum hdd_lro_rx_status status = HDD_LRO_NO_RX;
|
||||
|
|
|
|||
Loading…
Reference in a new issue