[PATCH] drmOpenByName: remove redundant drmAvailable check

Thierry Reding thierry.reding at gmail.com
Tue May 13 03:16:34 PDT 2014


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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140513/4f9e9131/attachment-0001.sig>


More information about the dri-devel mailing list