remove old code

This commit is contained in:
Oliver Lehmann 2009-08-22 15:45:33 +00:00
parent ea031d3631
commit e9a50e0de4
1 changed files with 7 additions and 26 deletions

View File

@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: timer.c,v 1.5 2009/08/16 20:15:48 olivleh1 Exp $
* $Id: timer.c,v 1.6 2009/08/22 15:45:33 olivleh1 Exp $
*/
@ -35,25 +35,6 @@
long
gettime()
{
#ifdef foo
register long time;
register i;
struct clock_type *t;
int a,b;
t = clock_devs;
for( i = 0 ; i < sizeof(clock_devs) / sizeof(clock_devs[0]); i++, t++) {
a = inb(t->clock_addr)&~t->clock_det_msk;
b = t->clock_det_str;
if(a == b) {
printf("%s found\n",t->clock_name);
t->clock_finit();
time = t->clock_fget();
break;
}
}
#endif
register long time = 0;
register i;
struct clock_type *t;