drmOpenByName: remove redundant drmAvailable check
authorDaniel Kurtz <djkurtz@chromium.org>
Thu, 17 Apr 2014 04:08:01 +0000 (12:08 +0800)
committerThierry Reding <treding@nvidia.com>
Tue, 13 May 2014 10:14:19 +0000 (12:14 +0200)
commit305478ce02ebd908a75c9830ecea15f6e2469b42
tree9813f8a116f59770e080e31ccfa106e5e64ac524
parentee87b4716d416be94071eea5dd67a22d1e78df31
drmOpenByName: remove redundant drmAvailable check

drmOpenByName() is a static function that is only called by drmOpen().
drmOpen() already checks drmAvailable(), so the check in
drmOpenByName() is redundant.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
xf86drm.c