[PATCH] accel/qaic: Drop redundant vfree() null check in sahara

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Sun Nov 17 23:57:16 UTC 2024


On Sun, Nov 17, 2024 at 01:26:29PM -0700, Jeffrey Hugo wrote:
> The documentation for vfree() says that passing in NULL is ok. Therefore
> we can drop the null check as redundant.
> 
> Reported-by: kernel test robot <lkp at intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202410301732.abF5Md4e-lkp@intel.com/
> Signed-off-by: Jeffrey Hugo <quic_jhugo at quicinc.com>
> ---
>  drivers/accel/qaic/sahara.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>

-- 
With best wishes
Dmitry


More information about the dri-devel mailing list