aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorRodrigo Vivi <[email protected]>2024-03-28 17:31:07 -0400
committerRodrigo Vivi <[email protected]>2024-04-03 14:44:22 -0400
commit74065388607f78fdeca4cd20ac331eefcdefc5ea (patch)
tree4d9dd76c98c5f7d84a2822d187e7ebb1f1a92343 /lib/memory-notifier-error-inject.c
parent2bebae0112b117de7e8a7289277a4bd2403b9e17 (diff)
drm/i915/guc: Remove bogus null check
This null check is bogus because we are already using 'ce' stuff in many places before this function is called. Having this here is useless and confuses static analyzer tools that can see: struct intel_engine_cs *engine = ce->engine; before this check, in the same function. Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Closes: https://lore.kernel.org/r/[email protected]/ Cc: Vinay Belgaumkar <[email protected]> Cc: John Harrison <[email protected]> Reviewed-by: Andi Shyti <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions