Re: [PATCH v2 0/2] Remove unnecessary tests and cast before kfree/kvfree
From: Fabio M. De Francesco <hidden>
Date: 2021-06-14 16:35:00
Also in:
linux-media, lkml
From: Fabio M. De Francesco <hidden>
Date: 2021-06-14 16:35:00
Also in:
linux-media, lkml
Hi All, I've seen that some patches of mine, more recent the following ones, have already been applied. In the past I had noticed that the patches are (usually?) placed in a time of submission ordered FIFO, unless they are rejected. I'm wondering if I should re-send them or if I am missing some details about the specific workflow of staging/media. Thanks, Fabio On Saturday, June 5, 2021 4:08:53 AM CEST Fabio M. De Francesco wrote:
(1/2) Removed unnecessary test of pointers != NULL before passing them to kfree() and kvfree(). (2/2) Removed an unnecessary (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(-)