mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
qcacld-3.0: Replace typedef action_pkt_buffer_t
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 action_pkt_buffer_t typedef does not meet any of those criteria, so replace references to it with a reference to the underlying struct. Change-Id: Icdcc07459223aa1b9c91601aa25ac9c314608da8 CRs-Fixed: 2119303
This commit is contained in:
parent
b1629ee112
commit
c945f5660a
1 changed files with 3 additions and 3 deletions
|
|
@ -567,11 +567,11 @@ enum rem_on_channel_request_type {
|
|||
OFF_CHANNEL_ACTION_TX,
|
||||
};
|
||||
|
||||
typedef struct action_pkt_buffer {
|
||||
struct action_pkt_buffer {
|
||||
uint8_t *frame_ptr;
|
||||
uint32_t frame_length;
|
||||
uint16_t freq;
|
||||
} action_pkt_buffer_t;
|
||||
};
|
||||
|
||||
typedef struct hdd_remain_on_chan_ctx {
|
||||
struct net_device *dev;
|
||||
|
|
@ -581,7 +581,7 @@ typedef struct hdd_remain_on_chan_ctx {
|
|||
u64 cookie;
|
||||
enum rem_on_channel_request_type rem_on_chan_request;
|
||||
qdf_mc_timer_t hdd_remain_on_chan_timer;
|
||||
action_pkt_buffer_t action_pkt_buff;
|
||||
struct action_pkt_buffer action_pkt_buff;
|
||||
bool hdd_remain_on_chan_cancel_in_progress;
|
||||
uint32_t scan_id;
|
||||
} hdd_remain_on_chan_ctx_t;
|
||||
|
|
|
|||
Loading…
Reference in a new issue