projects
/
platform
/
upstream
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffc481b
)
tests/pm_rps: remove setfreq
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Fri, 7 Feb 2014 09:02:41 +0000
(10:02 +0100)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Fri, 7 Feb 2014 09:03:24 +0000
(10:03 +0100)
It's unused.
Cc: Jeff McGee <jeff.mcgee@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/pm_rps.c
patch
|
blob
|
history
diff --git
a/tests/pm_rps.c
b/tests/pm_rps.c
index
27e7587
..
3d374f9
100644
(file)
--- a/
tests/pm_rps.c
+++ b/
tests/pm_rps.c
@@
-110,17
+110,6
@@
static int do_writeval(FILE *filp, int val, int lerrno)
#define writeval(filp, val) do_writeval(filp, val, 0)
#define writeval_inval(filp, val) do_writeval(filp, val, EINVAL)
-static void setfreq(int val)
-{
- if (val > readval(stuff[MAX].filp)) {
- writeval(stuff[MAX].filp, val);
- writeval(stuff[MIN].filp, val);
- } else {
- writeval(stuff[MIN].filp, val);
- writeval(stuff[MAX].filp, val);
- }
-}
-
static void checkit(const int *freqs)
{
igt_assert(freqs[MIN] <= freqs[MAX]);