Skip to content

Commit 29cd386

Browse files
mchetankumardavem330
authored andcommitted
net: wwan: iosm: fix compilation warning
curr_phase is unused. Removed the dead code. Fixes: 8d9be06 ("net: wwan: iosm: transport layer support for fw flashing/cd") Reported-by: kernel test robot <[email protected]> Signed-off-by: M Chetan Kumar <[email protected]> Reviewed-by: Loic Poulain <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 4ca110b commit 29cd386

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/net/wwan/iosm/iosm_ipc_imem_ops.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,12 +394,10 @@ void ipc_imem_sys_devlink_close(struct iosm_devlink *ipc_devlink)
394394
int boot_check_timeout = BOOT_CHECK_DEFAULT_TIMEOUT;
395395
enum ipc_mem_exec_stage exec_stage;
396396
struct ipc_mem_channel *channel;
397-
enum ipc_phase curr_phase;
398397
int status = 0;
399398
u32 tail = 0;
400399

401400
channel = ipc_imem->ipc_devlink->devlink_sio.channel;
402-
curr_phase = ipc_imem->phase;
403401
/* Increase the total wait time to boot_check_timeout */
404402
do {
405403
exec_stage = ipc_mmio_get_exec_stage(ipc_imem->mmio);

0 commit comments

Comments
 (0)