linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] scsi: aic7xxx: Remove null pointer checks before kfree()
@ 2020-04-05 20:02 Markus Elfring
  2020-04-06  1:14 ` Qiujun Huang
  2020-04-07 15:54 ` Alex Dewar
  0 siblings, 2 replies; 6+ messages in thread
From: Markus Elfring @ 2020-04-05 20:02 UTC (permalink / raw)
  To: Qiujun Huang, linux-scsi
  Cc: linux-kernel, Alex Dewar, Hannes Reinecke, James E. J. Bottomley,
	Martin K. Petersen

> NULL check before kfree is unnecessary so remove it.

I hope that you would like to take another update suggestion into account
(besides a typo correction for your commit message).
https://lore.kernel.org/patchwork/patch/1220189/
https://lore.kernel.org/linux-scsi/20200403164712.49579-1-alex.dewar@gmx.co.uk/

Do you find a previous update suggestion like “SCSI-aic7...: Delete unnecessary
checks before the function call "kfree"” also interesting?
https://lore.kernel.org/linux-scsi/54D3E057.9030600@users.sourceforge.net/
https://lore.kernel.org/patchwork/patch/540593/
https://lkml.org/lkml/2015/2/5/650

Regards,
Markus

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

end of thread, other threads:[~2020-04-09 14:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-05 20:02 [PATCH] scsi: aic7xxx: Remove null pointer checks before kfree() Markus Elfring
2020-04-06  1:14 ` Qiujun Huang
2020-04-07 15:54 ` Alex Dewar
2020-04-07 16:32   ` Markus Elfring
2020-04-09 11:48     ` Alex Dewar
2020-04-09 14:27       ` Markus Elfring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).