tiny68k: clean up minor things
authorAlan Cox <alan@linux.intel.com>
Tue, 29 Jan 2019 23:01:05 +0000 (23:01 +0000)
committerAlan Cox <alan@linux.intel.com>
Tue, 29 Jan 2019 23:01:05 +0000 (23:01 +0000)
Kernel/platform-tiny68k/device.h [deleted file]
Kernel/platform-tiny68k/devices.c
Kernel/platform-tiny68k/devtty.c

diff --git a/Kernel/platform-tiny68k/device.h b/Kernel/platform-tiny68k/device.h
deleted file mode 100644 (file)
index 6f4c1e2..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef __DEVICE_DOT_H__
-#define __DEVICE_DOT_H__
-
-extern void mod_control(uint8_t set, uint8_t clr);
-
-#endif /* __DEVICE_DOT_H__ */
index 42e7187..4c62562 100644 (file)
@@ -36,7 +36,5 @@ bool validdev(uint16_t dev)
 
 void device_init(void)
 {
-  int i;
-
   devide_init();
 }
index 9b221a8..26b4879 100644 (file)
@@ -3,7 +3,6 @@
 #include <printf.h>
 #include <stdbool.h>
 #include <devtty.h>
-#include <device.h>
 #include <tty.h>
 
 static unsigned char tbuf1[TTYSIZ];