diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2014-01-28 13:58:23 -0800 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2014-01-28 13:58:23 -0800 |
commit | 670a717b5bf4c21dde338b87e5b660632ff6f6b0 (patch) | |
tree | 2a20705810c979cc3f97234f50144adc799aad7a /lib/intel_mmio.c | |
parent | 81095305f4df5289f4d494345da0c87949b55f54 (diff) |
mmio: drop unused i915_loaded fn
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'lib/intel_mmio.c')
-rw-r--r-- | lib/intel_mmio.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/intel_mmio.c b/lib/intel_mmio.c index 2f8cab7a..930a44f8 100644 --- 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. * |