linux-staging.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Remove unnecessary tests and cast before kfree/kvfree
@ 2021-06-05  2:08 Fabio M. De Francesco
  2021-06-05  2:08 ` [PATCH v2 1/2] staging: media: atomisp: pci: Remove checks " Fabio M. De Francesco
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Fabio M. De Francesco @ 2021-06-05  2:08 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Sakari Ailus, Greg Kroah-Hartman,
	Dan Carpenter, linux-media, linux-staging, linux-kernel
  Cc: Fabio M. De Francesco

(1/2) Removed unnecessary test of pointers != NULL before passing them to
kfree() and kvfree(). 
(2/2) Removed an unncecessary (void *) cast for an argument passed to kfree().

v1 -> v2: Added patch 2/2.

Fabio M. De Francesco (2):
  staging: media: atomisp: pci: Remove checks before kfree/kvfree
  staging: media: atomisp: pci: Remove unnecessary (void *) cast

 drivers/staging/media/atomisp/pci/sh_css_firmware.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

-- 
2.31.1


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

end of thread, other threads:[~2021-06-14 16:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-05  2:08 [PATCH v2 0/2] Remove unnecessary tests and cast before kfree/kvfree Fabio M. De Francesco
2021-06-05  2:08 ` [PATCH v2 1/2] staging: media: atomisp: pci: Remove checks " Fabio M. De Francesco
2021-06-05  2:08 ` [PATCH v2 2/2] staging: media: atomisp: pci: Remove unnecessary (void *) cast Fabio M. De Francesco
2021-06-14 16:33 ` [PATCH v2 0/2] Remove unnecessary tests and cast before kfree/kvfree Fabio M. De Francesco
2021-06-14 16:44   ` Mauro Carvalho Chehab

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