projects
/
profile
/
extras
/
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:
8109530
)
mmio: drop unused i915_loaded fn
author
Jesse Barnes
<jbarnes@virtuousgeek.org>
Tue, 28 Jan 2014 21:58:23 +0000
(13:58 -0800)
committer
Jesse Barnes
<jbarnes@virtuousgeek.org>
Tue, 28 Jan 2014 21:58:23 +0000
(13:58 -0800)
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
lib/intel_mmio.c
patch
|
blob
|
history
diff --git
a/lib/intel_mmio.c
b/lib/intel_mmio.c
index
2f8cab7
..
930a44f
100644
(file)
--- a/
lib/intel_mmio.c
+++ b/
lib/intel_mmio.c
@@
-155,22
+155,6
@@
release_forcewake_lock(int fd)
close(fd);
}
-/* Dumb check to see if i915 was loaded */
-static bool
-i915_loaded(void)
-{
- struct stat sb;
- int ret;
-
- ret = stat("/sys/module/i915/", &sb);
- if (ret) {
- return false;
- }
-
- assert(S_ISDIR(sb.st_mode));
- return true;
-}
-
/*
* Initialize register access library.
*