summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/scheduler
diff options
context:
space:
mode:
authorWen Yang <wen.yang99@zte.com.cn>2018-12-05 10:43:19 +0300
committerAlex Deucher <alexander.deucher@amd.com>2018-12-06 01:50:26 +0300
commit8288b2e5ae01cabd078836618fd651574343cbfc (patch)
tree9143975520c7dca8d3ebd57c9b299b0786b1c097 /drivers/gpu/drm/scheduler
parentd4295e12796e747f9a624a56cd54de51fb2b3bdd (diff)
downloadlinux-8288b2e5ae01cabd078836618fd651574343cbfc.tar.xz
drm/amdgpu/acpi: NULL check before some freeing functions is not needed
kfree(NULL) is safe, so removes NULL check before freeing the mem. This patch also fix the ifnullfree.cocci warnings. Reviewed-by: Lyude Paul <lyude@redhat.com> Signed-off-by: Wen Yang <wen.yang99@zte.com.cn> CC: Alex Deucher <alexander.deucher@amd.com> CC: christian.koenig@amd.com CC: "David (ChunMing) Zhou" <David1.Zhou@amd.com> CC: David Airlie <airlied@linux.ie> (maintainer:DRM DRIVERS) CC: Lyude Paul <lyude@redhat.com> CC: Rex Zhu <Rex.Zhu@amd.com> CC: Jim Qu <Jim.Qu@amd.com> CC: amd-gfx@lists.freedesktop.org CC: dri-devel@lists.freedesktop.org Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/scheduler')
0 files changed, 0 insertions, 0 deletions