summaryrefslogtreecommitdiff
path: root/tests/sysfs_rps.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-19 10:34:34 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-19 10:34:34 +0200
commit5951ffb6a042037b74f7123d599b6a4f907ecff0 (patch)
treeccc2f7dd350cc9633517b9b609afd7758d995140 /tests/sysfs_rps.c
parent4ba1f2e104310263a112846b19acfa04c8f95fe4 (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 'tests/sysfs_rps.c')
-rw-r--r--tests/sysfs_rps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sysfs_rps.c b/tests/sysfs_rps.c
index 867f9130..55804c0e 100644
--- a/tests/sysfs_rps.c
+++ b/tests/sysfs_rps.c
@@ -129,7 +129,7 @@ static void dumpit(void)
int main(int argc, char *argv[])
{
- const int device = drm_get_card(0);
+ const int device = drm_get_card();
struct junk *junk = stuff;
int fd, ret;