]> www.infradead.org Git - users/jedix/linux-maple.git/commit
accel/qaic: Drop redundant vfree() null check in sahara
authorJeffrey Hugo <quic_jhugo@quicinc.com>
Sun, 17 Nov 2024 20:26:29 +0000 (13:26 -0700)
committerJeffrey Hugo <quic_jhugo@quicinc.com>
Fri, 22 Nov 2024 18:35:15 +0000 (11:35 -0700)
commit57250e0fa30194d4ac309ee87573bed71db68b46
tree20cdfca7388ea3ce229a5db5acdc1236c8617f0f
parent98efdd02e220fea84c1491012d7292749a71faeb
accel/qaic: Drop redundant vfree() null check in sahara

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@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202410301732.abF5Md4e-lkp@intel.com/
Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Youssef Samir <quic_yabdulra@quicinc.com>
Reviewed-by: Carl Vanderlip <quic_carlv@quicinc.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241117202629.1681358-1-quic_jhugo@quicinc.com
drivers/accel/qaic/sahara.c