All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] scsi: mptfusion: Clear the warnings indicating that the variable is not used
@ 2021-04-08  6:18 Zhen Lei
  2021-04-08  6:18 ` [PATCH 1/3] scsi: mptfusion: Remove unused local variable 'time_count' Zhen Lei
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Zhen Lei @ 2021-04-08  6:18 UTC (permalink / raw)
  To: Sathya Prakash, Sreekanth Reddy, Suganath Prabu Subramani,
	MPT-FusionLinux . pdl, linux-scsi, linux-kernel
  Cc: Zhen Lei

Fix below warnings:
drivers/message/fusion/mptctl.c: In function ‘mptctl_do_taskmgmt’:
drivers/message/fusion/mptctl.c:324:17: warning: variable ‘time_count’ set but not used [-Wunused-but-set-variable]
  324 |  unsigned long  time_count;
      |                 ^~~~~~~~~~
drivers/message/fusion/mptctl.c: In function ‘mptctl_gettargetinfo’:
drivers/message/fusion/mptctl.c:1372:7: warning: variable ‘port’ set but not used [-Wunused-but-set-variable]
 1372 |  u8   port;
      |       ^~~~
drivers/message/fusion/mptctl.c: In function ‘mptctl_hp_hostinfo’:
drivers/message/fusion/mptctl.c:2337:8: warning: variable ‘retval’ set but not used [-Wunused-but-set-variable]
 2337 |  int   retval;
      |        ^~~~~~


Zhen Lei (3):
  scsi: mptfusion: Remove unused local variable 'time_count'
  scsi: mptfusion: Remove unused local variable 'port'
  scsi: mptfusion: Fix error return code of mptctl_hp_hostinfo()

 drivers/message/fusion/mptctl.c | 28 ++++++++++++----------------
 1 file changed, 12 insertions(+), 16 deletions(-)

-- 
2.21.1



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

end of thread, other threads:[~2021-04-16  2:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-08  6:18 [PATCH 0/3] scsi: mptfusion: Clear the warnings indicating that the variable is not used Zhen Lei
2021-04-08  6:18 ` [PATCH 1/3] scsi: mptfusion: Remove unused local variable 'time_count' Zhen Lei
2021-04-08  6:18 ` [PATCH 2/3] scsi: mptfusion: Remove unused local variable 'port' Zhen Lei
2021-04-08  6:18 ` [PATCH 3/3] scsi: mptfusion: Fix error return code of mptctl_hp_hostinfo() Zhen Lei
2021-04-13  5:07 ` [PATCH 0/3] scsi: mptfusion: Clear the warnings indicating that the variable is not used Martin K. Petersen
2021-04-13  7:25   ` Leizhen (ThunderTown)
2021-04-16  2:51 ` Martin K. Petersen

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.