[PATCH] net: wwan: iosm: fix compilation warning

Subsystems: intel wwan iosm driver, networking drivers, the rest, wwan drivers

STALE1765d

3 messages, 3 authors, 2021-11-11 · open the first message on its own page

[PATCH] net: wwan: iosm: fix compilation warning

From: M Chetan Kumar <hidden>
Date: 2021-11-10 16:13:29

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 <redacted>
Signed-off-by: M Chetan Kumar <redacted>
---
 drivers/net/wwan/iosm/iosm_ipc_imem_ops.c | 2 --
 1 file changed, 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);
-- 
2.25.1

Re: [PATCH] net: wwan: iosm: fix compilation warning

From: Loic Poulain <hidden>
Date: 2021-11-10 16:18:03

On Wed, 10 Nov 2021 at 17:14, M Chetan Kumar
[off-list ref] wrote:
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 <redacted>
Signed-off-by: M Chetan Kumar <redacted>
Reviewed-by: Loic Poulain <redacted>

Re: [PATCH] net: wwan: iosm: fix compilation warning

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-11-11 11:50:13

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller [off-list ref]:

On Wed, 10 Nov 2021 21:50:36 +0530 you wrote:
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 <redacted>
Signed-off-by: M Chetan Kumar <redacted>
---
 drivers/net/wwan/iosm/iosm_ipc_imem_ops.c | 2 --
 1 file changed, 2 deletions(-)
Here is the summary with links:
  - net: wwan: iosm: fix compilation warning
    https://git.kernel.org/netdev/net/c/29cd38675041

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help