Przeglądaj źródła

drm/i915: Remove excess inline keywords

Remove some inline keywords. One of the functions has clearly outgrown
it anyway, so let's just leave it to the compiler.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Ville Syrjälä 10 lat temu
rodzic
commit
8fc3b42ef3
1 zmienionych plików z 5 dodań i 5 usunięć
  1. 5 5
      drivers/gpu/drm/i915/i915_irq.c

+ 5 - 5
drivers/gpu/drm/i915/i915_irq.c

@@ -1386,7 +1386,7 @@ static int i915_port_to_hotplug_shift(enum port port)
 	}
 	}
 }
 }
 
 
-static inline enum port get_port_from_pin(enum hpd_pin pin)
+static enum port get_port_from_pin(enum hpd_pin pin)
 {
 {
 	switch (pin) {
 	switch (pin) {
 	case HPD_PORT_B:
 	case HPD_PORT_B:
@@ -1400,10 +1400,10 @@ static inline enum port get_port_from_pin(enum hpd_pin pin)
 	}
 	}
 }
 }
 
 
-static inline void intel_hpd_irq_handler(struct drm_device *dev,
-					 u32 hotplug_trigger,
-					 u32 dig_hotplug_reg,
-					 const u32 hpd[HPD_NUM_PINS])
+static void intel_hpd_irq_handler(struct drm_device *dev,
+				  u32 hotplug_trigger,
+				  u32 dig_hotplug_reg,
+				  const u32 hpd[HPD_NUM_PINS])
 {
 {
 	struct drm_i915_private *dev_priv = dev->dev_private;
 	struct drm_i915_private *dev_priv = dev->dev_private;
 	int i;
 	int i;