aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2015-06-06 21:41:09 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-09-15 16:19:48 +0100
commit3f3d0d00734de56a0c5996f4e4433046c745592e (patch)
treeb7fe33bd3724706a1458ec637e9408ff23e83231 /drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
parent64291f7db5bd8150a74ad2036f1037e6a0428df2 (diff)
drm/i2c: tda998x: remove useless NULL checks
There is no way 'priv' can be NULL in tda998x_irq_thread() - this can only happen if request_threaded_irq() was passed a NULL priv pointer, and we would have crashed long before then if that was the case. We also always ensure that priv->encoder is correctly setup, which must have been initialised prior to the interrupt being claimed, so we can remove this check as well. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c')
0 files changed, 0 insertions, 0 deletions