All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thierry Reding <thierry.reding@gmail.com>
To: Daniel Kurtz <djkurtz@chromium.org>
Cc: Dave Airlie <airlied@redhat.com>, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] drmOpenByName: remove redundant drmAvailable check
Date: Tue, 13 May 2014 12:16:34 +0200	[thread overview]
Message-ID: <20140513101632.GA8407@ulmo> (raw)
In-Reply-To: <1397707681-27587-1-git-send-email-djkurtz@chromium.org>


[-- Attachment #1.1: Type: text/plain, Size: 478 bytes --]

On Thu, Apr 17, 2014 at 12:08:01PM +0800, Daniel Kurtz wrote:
> drmOpenByName() is a static function that is only called by drmOpen().
> drmOpen() already checks drmAvailable(), so the checki in
> drmOpenByName() is redundant.
> 
> Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
> ---
>  xf86drm.c | 13 -------------
>  1 file changed, 13 deletions(-)

Looks good to me. I've fixed up the typo (checki -> check) in the commit
message and pushed this.

Thierry

[-- Attachment #1.2: Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

      parent reply	other threads:[~2014-05-13 10:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-17  4:08 [PATCH] drmOpenByName: remove redundant drmAvailable check Daniel Kurtz
2014-05-13  3:46 ` Daniel Kurtz
2014-05-13 11:49   ` Thierry Reding
2014-05-13 12:46     ` Rob Clark
2014-05-13 10:16 ` Thierry Reding [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=20140513101632.GA8407@ulmo \
    --to=thierry.reding@gmail.com \
    --cc=airlied@redhat.com \
    --cc=djkurtz@chromium.org \
    --cc=dri-devel@lists.freedesktop.org \
    /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.