aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/xilinx-spi.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2022-11-18 13:03:37 +0000
committerDmitry Baryshkov <[email protected]>2022-11-22 23:39:03 +0000
commitad517059787a5f37018f369f3112164eccd3d6c1 (patch)
treee2db73c628a9820702c565104bfbcbc6157e20c8 /drivers/fpga/xilinx-spi.c
parentdrm/msm/hdmi: move msm_hdmi_get_phy() to msm_hdmi_dev_probe() (diff)
downloadkernel-ad517059787a5f37018f369f3112164eccd3d6c1.tar.gz
kernel-ad517059787a5f37018f369f3112164eccd3d6c1.zip
drm/msm/hdmi: remove unnecessary NULL check
This code was recently refactored in commit and now the "hdmi" pointer can't be NULL. Checking for NULL leads to a Smatch warning: drivers/gpu/drm/msm/hdmi/hdmi.c:141 msm_hdmi_init() warn: variable dereferenced before check 'hdmi' (see line 119) Fixes: 69a88d8633ec ("drm/msm/hdmi: move resource allocation to probe function") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Abhinav Kumar <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/512163/ Link: https://lore.kernel.org/r/Y3eCqQ2pm1uQnktV@kadam Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions