aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorAashish Sharma <[email protected]>2022-10-11 13:25:19 +0530
committerRob Clark <[email protected]>2022-10-14 09:33:12 -0700
commitccc40d42bd59ac858b58322775004613f1d805af (patch)
treef8384636f2b4ac06ad1b6011c33bdc2f8786fef6 /scripts/generate_rust_analyzer.py
parentec4fbd791519423726ce9fd5130de9a95365c8eb (diff)
drm/msm: Remove redundant check for 'submit'
Rectify the below smatch warning: drivers/gpu/drm/msm/msm_gem_submit.c:963 msm_ioctl_gem_submit() warn: variable dereferenced before check 'submit' 'submit' is normally error pointer or valid, so remove its NULL initializer as it's confusing and also remove a redundant check for it's value. Signed-off-by: Aashish Sharma <[email protected]> Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/506653/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions