diff options
author | kato <kato@FreeBSD.org> | 1999-01-28 11:24:36 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1999-01-28 11:24:36 +0000 |
commit | 718f8ca983bd1a80b8ed0091a08b279f5d4dfcfe (patch) | |
tree | 91fef27e35bb1d15a16b15fe768fc6e98c0a2cfe /sys/pc98/cbus/gdc.c | |
parent | 6e0f4cfdc34bf07950fcfff6d3b50fe5d2b44838 (diff) | |
download | FreeBSD-src-718f8ca983bd1a80b8ed0091a08b279f5d4dfcfe.zip FreeBSD-src-718f8ca983bd1a80b8ed0091a08b279f5d4dfcfe.tar.gz |
The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static
and local variables, goto labels, and functions declared but not defined.
Diffstat (limited to 'sys/pc98/cbus/gdc.c')
-rw-r--r-- | sys/pc98/cbus/gdc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pc98/cbus/gdc.c b/sys/pc98/cbus/gdc.c index 076f9e7..1bbc8d4 100644 --- a/sys/pc98/cbus/gdc.c +++ b/sys/pc98/cbus/gdc.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id$ + * $Id: pc98gdc.c,v 1.3 1999/01/18 14:55:38 kato Exp $ */ #include "gdc.h" @@ -68,7 +68,6 @@ static int gdcprobe(struct isa_device *dev); static int gdc_attach(struct isa_device *dev); -static void gdc_drvinit(void *unused); struct isa_driver gdcdriver = { gdcprobe, @@ -857,8 +856,9 @@ gdc_mmap(video_adapter_t *adp, vm_offset_t offset) static int gdc_diag(video_adapter_t *adp, int level) { - video_info_t info; +#if FB_DEBUG > 1 int i; +#endif if (!init_done) return 1; |