]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/xe: remove MISSING_CASE() from compat i915_utils.h
authorJani Nikula <jani.nikula@intel.com>
Wed, 19 Nov 2025 18:52:43 +0000 (20:52 +0200)
committerJani Nikula <jani.nikula@intel.com>
Fri, 21 Nov 2025 10:12:06 +0000 (12:12 +0200)
There are no longer users for MISSING_CASE() in the compat
i915_utils.h. Remove it to prevent new users from showing up.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/b967e605ff9d9ad459f3d12a9dfc9244458d83a1.1763578288.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/xe/compat-i915-headers/i915_utils.h

index bcd441dc0fce50d36d72c286f492c70b4afb5c9b..3639721f0bf89e3768ce250d00c4a23790506406 100644 (file)
@@ -3,11 +3,5 @@
  * Copyright © 2023 Intel Corporation
  */
 
-/* for soc/ */
-#ifndef MISSING_CASE
-#define MISSING_CASE(x) WARN(1, "Missing case (%s == %ld)\n", \
-                            __stringify(x), (long)(x))
-#endif
-
 /* for a couple of users under i915/display */
 #define i915_inject_probe_failure(unused) ((unused) && 0)