From: Jani Nikula <jani.nikula@linux.intel.com>
To: ville.syrjala@linux.intel.com, intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 1/2] drm/i915: Remove excess inline keywords
Date: Tue, 12 May 2015 11:52:39 +0300 [thread overview]
Message-ID: <87fv7241pk.fsf@intel.com> (raw)
In-Reply-To: <1431366550-25659-1-git-send-email-ville.syrjala@linux.intel.com>
On Mon, 11 May 2015, ville.syrjala@linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
> 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>
> ---
> drivers/gpu/drm/i915/i915_irq.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
> index 9da955e..9c5371b 100644
> --- a/drivers/gpu/drm/i915/i915_irq.c
> +++ b/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) {
> 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;
> --
> 2.0.5
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
prev parent reply other threads:[~2015-05-12 8:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-11 17:49 [PATCH 1/2] drm/i915: Remove excess inline keywords ville.syrjala
2015-05-11 17:49 ` [PATCH 2/2] drm/i915: Use HOTPLUG_INT_STATUS_G4X on VLV/CHV ville.syrjala
2015-05-12 8:54 ` Jani Nikula
2015-05-12 10:24 ` Daniel Vetter
2015-05-12 10:27 ` Ville Syrjälä
2015-05-12 11:42 ` Daniel Vetter
2015-05-15 4:40 ` shuang.he
2015-05-12 8:52 ` Jani Nikula [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fv7241pk.fsf@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=ville.syrjala@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.