drm/i915: Remove excess inline keywords
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 11 May 2015 17:49:09 +0000 (20:49 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 20 May 2015 09:25:48 +0000 (11:25 +0200)
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>
drivers/gpu/drm/i915/i915_irq.c

index 9da955e4f3554208f59a15b6ae6b4fc69b9be316..9c5371b7d3b93593075663c17247098c6cf81906 100644 (file)
@@ -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) {
        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;
        int i;