Skip to content

Remove unnecessary tests and cast before kfree/kvfree

Fabio M. De Francesco linux-media linux-staging lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v11 patch 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2staging: media: atomisp: pci: Remove checks before kfree/kvfreedrivers/staging/media/atomisp/pci/sh_css_firmware.c+2 -40 replies
2/2staging: media: atomisp: pci: Remove unnecessary (void *) castdrivers/staging/media/atomisp/pci/sh_css_firmware.c+1 -10 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchSakari Ailus
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Remove unnecessary tests and cast before kfree/kvfree

(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(-)
Signature · 1 line
2.31.1