It's unused. Cc: Jeff McGee <jeff.mcgee@xxxxxxxxx> Signed-off-by: Daniel Vetter <daniel.vetter@xxxxxxxx> --- tests/pm_rps.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/tests/pm_rps.c b/tests/pm_rps.c index 27e758755e3f..3d374f92f82d 100644 --- 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]); -- 1.8.1.4 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx