All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net: wwan: iosm: fix compilation warning
@ 2021-11-10 16:20 M Chetan Kumar
  2021-11-10 16:28 ` Loic Poulain
  2021-11-11 11:50 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: M Chetan Kumar @ 2021-11-10 16:20 UTC (permalink / raw)
  To: netdev
  Cc: kuba, davem, johannes, ryazanov.s.a, loic.poulain,
	krishna.c.sudi, m.chetan.kumar, linuxwwan, kernel test robot

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>
---
 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] net: wwan: iosm: fix compilation warning
  2021-11-10 16:20 [PATCH] net: wwan: iosm: fix compilation warning M Chetan Kumar
@ 2021-11-10 16:28 ` Loic Poulain
  2021-11-11 11:50 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Loic Poulain @ 2021-11-10 16:28 UTC (permalink / raw)
  To: M Chetan Kumar
  Cc: netdev, kuba, davem, johannes, ryazanov.s.a, krishna.c.sudi,
	m.chetan.kumar, linuxwwan, kernel test robot

On Wed, 10 Nov 2021 at 17:14, M Chetan Kumar
<m.chetan.kumar@linux.intel.com> 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 <lkp@intel.com>
> Signed-off-by: M Chetan Kumar <m.chetan.kumar@linux.intel.com>

Reviewed-by: Loic Poulain <loic.poulain@linaro.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] net: wwan: iosm: fix compilation warning
  2021-11-10 16:20 [PATCH] net: wwan: iosm: fix compilation warning M Chetan Kumar
  2021-11-10 16:28 ` Loic Poulain
@ 2021-11-11 11:50 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-11-11 11:50 UTC (permalink / raw)
  To: M Chetan Kumar
  Cc: netdev, kuba, davem, johannes, ryazanov.s.a, loic.poulain,
	krishna.c.sudi, m.chetan.kumar, linuxwwan, lkp

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <davem@davemloft.net>:

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 <lkp@intel.com>
> Signed-off-by: M Chetan Kumar <m.chetan.kumar@linux.intel.com>
> ---
>  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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-11 11:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-10 16:20 [PATCH] net: wwan: iosm: fix compilation warning M Chetan Kumar
2021-11-10 16:28 ` Loic Poulain
2021-11-11 11:50 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.