diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-08-19 10:34:34 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-08-19 10:34:34 +0200 |
commit | 5951ffb6a042037b74f7123d599b6a4f907ecff0 (patch) | |
tree | ccc2f7dd350cc9633517b9b609afd7758d995140 /tools/intel_l3_parity.c | |
parent | 4ba1f2e104310263a112846b19acfa04c8f95fe4 (diff) |
lib/drmtest: rip out drm_open_any_master
It's unused. Also most of our tests failed to ask for the right type
of drm fd anyway. So it's imo better to just let them fall over when
they don't get master but want it, like they already do today.
This also allows us to garbage-collect the master parameter to
drm_get_card and associated code.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/intel_l3_parity.c')
-rw-r--r-- | tools/intel_l3_parity.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/intel_l3_parity.c b/tools/intel_l3_parity.c index 260c3d0c..ad027aca 100644 --- a/tools/intel_l3_parity.c +++ b/tools/intel_l3_parity.c @@ -108,7 +108,7 @@ static int do_parse(int argc, char *argv[]) int main(int argc, char *argv[]) { - const int device = drm_get_card(0); + const int device = drm_get_card(); char *path; unsigned int devid; int drm_fd, fd, ret; |