Commit 8a690c15 authored by M Chetan Kumar's avatar M Chetan Kumar Committed by Jakub Kicinski

net: wwan: iosm: clean up unused struct members

Below members are unused.
- td_tag member defined in struct ipc_pipe.
- adb_finish_timer & params defined in struct iosm_mux.

Remove it to avoid unexpected usage.
Signed-off-by: default avatarM Chetan Kumar <m.chetan.kumar@linux.intel.com>
Reviewed-by: default avatarSimon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/92ee483d79dfc871ed7408da8fec60b395ff3a9c.1683649868.git.m.chetan.kumar@linux.intel.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent c9301925
...@@ -193,7 +193,6 @@ enum ipc_hp_identifier { ...@@ -193,7 +193,6 @@ enum ipc_hp_identifier {
* @pipe_nr: Pipe identification number * @pipe_nr: Pipe identification number
* @irq: Interrupt vector * @irq: Interrupt vector
* @dir: Direction of data stream in pipe * @dir: Direction of data stream in pipe
* @td_tag: Unique tag of the buffer queued
* @buf_size: Buffer size (in bytes) for preallocated * @buf_size: Buffer size (in bytes) for preallocated
* buffers (for DL pipes) * buffers (for DL pipes)
* @nr_of_queued_entries: Aueued number of entries * @nr_of_queued_entries: Aueued number of entries
...@@ -213,7 +212,6 @@ struct ipc_pipe { ...@@ -213,7 +212,6 @@ struct ipc_pipe {
u32 pipe_nr; u32 pipe_nr;
u32 irq; u32 irq;
enum ipc_mem_pipe_dir dir; enum ipc_mem_pipe_dir dir;
u32 td_tag;
u32 buf_size; u32 buf_size;
u16 nr_of_queued_entries; u16 nr_of_queued_entries;
u8 is_open:1; u8 is_open:1;
......
...@@ -333,9 +333,7 @@ struct mux_acb { ...@@ -333,9 +333,7 @@ struct mux_acb {
* @wwan_q_offset: This will hold the offset of the given instance * @wwan_q_offset: This will hold the offset of the given instance
* Useful while passing or receiving packets from * Useful while passing or receiving packets from
* wwan/imem layer. * wwan/imem layer.
* @adb_finish_timer: Timer for forcefully finishing the ADB
* @acb_tx_sequence_nr: Sequence number for the ACB header. * @acb_tx_sequence_nr: Sequence number for the ACB header.
* @params: user configurable parameters
* @adb_tx_sequence_nr: Sequence number for ADB header * @adb_tx_sequence_nr: Sequence number for ADB header
* @acc_adb_size: Statistic data for logging * @acc_adb_size: Statistic data for logging
* @acc_payload_size: Statistic data for logging * @acc_payload_size: Statistic data for logging
...@@ -367,9 +365,7 @@ struct iosm_mux { ...@@ -367,9 +365,7 @@ struct iosm_mux {
long long ul_data_pend_bytes; long long ul_data_pend_bytes;
struct mux_acb acb; struct mux_acb acb;
int wwan_q_offset; int wwan_q_offset;
struct hrtimer adb_finish_timer;
u16 acb_tx_sequence_nr; u16 acb_tx_sequence_nr;
struct ipc_params *params;
u16 adb_tx_sequence_nr; u16 adb_tx_sequence_nr;
unsigned long long acc_adb_size; unsigned long long acc_adb_size;
unsigned long long acc_payload_size; unsigned long long acc_payload_size;
......
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