summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorM Chetan Kumar <m.chetan.kumar@linux.intel.com>2021-11-10 17:20:36 +0100
committerDavid S. Miller <davem@davemloft.net>2021-11-11 12:45:44 +0100
commit29cd386750412297fd064c01c87bc40a26f24047 (patch)
tree617c10b4829155170f0a339960f1a8193eb0ede1 /drivers
parentcxgb4: fix eeprom len when diagnostics not implemented (diff)
downloadlinux-29cd386750412297fd064c01c87bc40a26f24047.tar.xz
linux-29cd386750412297fd064c01c87bc40a26f24047.zip
net: wwan: iosm: fix compilation warning
curr_phase is unused. Removed the dead code. Fixes: 8d9be0634181 ("net: wwan: iosm: transport layer support for fw flashing/cd") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: M Chetan Kumar <m.chetan.kumar@linux.intel.com> Reviewed-by: Loic Poulain <loic.poulain@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wwan/iosm/iosm_ipc_imem_ops.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wwan/iosm/iosm_ipc_imem_ops.c b/drivers/net/wwan/iosm/iosm_ipc_imem_ops.c
index b885a6570235..825e8e5ffb2a 100644
--- a/drivers/net/wwan/iosm/iosm_ipc_imem_ops.c
+++ b/drivers/net/wwan/iosm/iosm_ipc_imem_ops.c
@@ -394,12 +394,10 @@ void ipc_imem_sys_devlink_close(struct iosm_devlink *ipc_devlink)
int boot_check_timeout = BOOT_CHECK_DEFAULT_TIMEOUT;
enum ipc_mem_exec_stage exec_stage;
struct ipc_mem_channel *channel;
- enum ipc_phase curr_phase;
int status = 0;
u32 tail = 0;
channel = ipc_imem->ipc_devlink->devlink_sio.channel;
- curr_phase = ipc_imem->phase;
/* Increase the total wait time to boot_check_timeout */
do {
exec_stage = ipc_mmio_get_exec_stage(ipc_imem->mmio);