diff options
author | 2020-07-18 08:59:28 +0000 | |
---|---|---|
committer | 2020-07-18 08:59:28 +0000 | |
commit | f17b9b4c1ec17848b29399f91bcb2361c8e1af0e (patch) | |
tree | 3ca3f7122053f958c85e92e50dbfc4e758bfcb02 | |
parent | Userland timecounter implementation for octeon (diff) | |
download | wireguard-openbsd-f17b9b4c1ec17848b29399f91bcb2361c8e1af0e.tar.xz wireguard-openbsd-f17b9b4c1ec17848b29399f91bcb2361c8e1af0e.zip |
Remove an unused function.
-rw-r--r-- | sys/arch/loongson/dev/sisfb.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/arch/loongson/dev/sisfb.c b/sys/arch/loongson/dev/sisfb.c index 5e6f9519f37..9dcfa5b5d1c 100644 --- a/sys/arch/loongson/dev/sisfb.c +++ b/sys/arch/loongson/dev/sisfb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sisfb.c,v 1.7 2020/05/25 09:55:48 jsg Exp $ */ +/* $OpenBSD: sisfb.c,v 1.8 2020/07/18 08:59:28 visa Exp $ */ /* * Copyright (c) 2010 Miodrag Vallat. @@ -131,7 +131,6 @@ const struct pci_matchid sisfb_devices[] = { #define CRTC_DATA (0x3d5 - SIS_VGA_PORT_OFFSET) static inline uint sisfb_crtc_read(struct sisfb *, uint); -static inline void sisfb_crtc_write(struct sisfb *, uint, uint); static inline uint sisfb_seq_read(struct sisfb *, uint); static inline void sisfb_seq_write(struct sisfb *, uint, uint); @@ -147,16 +146,6 @@ sisfb_crtc_read(struct sisfb *fb, uint idx) return val; } -static inline void -sisfb_crtc_write(struct sisfb *fb, uint idx, uint val) -{ -#ifdef SIS_DEBUG - printf("CRTC %04x <- %02x\n", idx, val); -#endif - bus_space_write_1(fb->iot, fb->ioh, CRTC_ADDR, idx); - bus_space_write_1(fb->iot, fb->ioh, CRTC_DATA, val); -} - static inline uint sisfb_seq_read(struct sisfb *fb, uint idx) { |