Skip to content
Commit 305478ce authored by Daniel Kurtz's avatar Daniel Kurtz Committed by Thierry Reding
Browse files

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: default avatarDaniel Kurtz <djkurtz@chromium.org>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent ee87b471
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment