ref: 8829d51f5057d030004872afe9267c77cfb97808
parent: 8ea31ae7b21e9f0c8991b2b861bc51ea3d67c3cd
author: cinap_lenrek <[email protected]>
date: Sun Apr 2 16:17:44 EDT 2017
devvga: remove unused copy of checkport() function
--- a/sys/src/9/pc/devvga.c
+++ b/sys/src/9/pc/devvga.c
@@ -142,20 +142,6 @@
}
}
-static void
-checkport(int start, int end)
-{
- /* standard vga regs are OK */
- if(start >= 0x2b0 && end <= 0x2df+1)
- return;
- if(start >= 0x3c0 && end <= 0x3da+1)
- return;
-
- if(iounused(start, end))
- return;
- error(Eperm);
-}
-
static long
vgaread(Chan* c, void* a, long n, vlong off)
{