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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(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




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux