From 0408a2d27c0ed803aa8e342f69800dbe2b30d80d Mon Sep 17 00:00:00 2001 From: deraadt Date: Sun, 24 Oct 2021 09:18:51 +0000 Subject: [PATCH] extra 0 fields in cfdriver are not needed --- sys/arch/luna88k/dev/lcd.c | 4 ++-- sys/arch/luna88k/dev/sio.c | 4 ++-- sys/arch/luna88k/luna88k/mainbus.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/arch/luna88k/dev/lcd.c b/sys/arch/luna88k/dev/lcd.c index 0c08a0d2709..c54e40905a3 100644 --- a/sys/arch/luna88k/dev/lcd.c +++ b/sys/arch/luna88k/dev/lcd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lcd.c,v 1.10 2017/11/03 06:54:06 aoyama Exp $ */ +/* $OpenBSD: lcd.c,v 1.11 2021/10/24 09:18:51 deraadt Exp $ */ /* $NetBSD: lcd.c,v 1.2 2000/01/07 05:13:08 nisimura Exp $ */ /*- @@ -88,7 +88,7 @@ const struct cfattach lcd_ca = { }; struct cfdriver lcd_cd = { - NULL, "lcd", DV_DULL, 0 + NULL, "lcd", DV_DULL, }; /* Internal prototypes */ diff --git a/sys/arch/luna88k/dev/sio.c b/sys/arch/luna88k/dev/sio.c index 3a5d92ed0f4..2c7bddd75bd 100644 --- a/sys/arch/luna88k/dev/sio.c +++ b/sys/arch/luna88k/dev/sio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sio.c,v 1.6 2017/06/04 13:48:13 aoyama Exp $ */ +/* $OpenBSD: sio.c,v 1.7 2021/10/24 09:18:51 deraadt Exp $ */ /* $NetBSD: sio.c,v 1.1 2000/01/05 08:48:55 nisimura Exp $ */ /*- @@ -51,7 +51,7 @@ const struct cfattach sio_ca = { }; struct cfdriver sio_cd = { - NULL, "sio", DV_DULL, 0 + NULL, "sio", DV_DULL, }; void nullintr(void *); diff --git a/sys/arch/luna88k/luna88k/mainbus.c b/sys/arch/luna88k/luna88k/mainbus.c index 0045a143535..796aa985d1b 100644 --- a/sys/arch/luna88k/luna88k/mainbus.c +++ b/sys/arch/luna88k/luna88k/mainbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mainbus.c,v 1.16 2020/06/07 22:54:58 aoyama Exp $ */ +/* $OpenBSD: mainbus.c,v 1.17 2021/10/24 09:18:51 deraadt Exp $ */ /* $NetBSD: mainbus.c,v 1.2 2000/01/07 05:13:08 nisimura Exp $ */ /*- @@ -75,7 +75,7 @@ const struct cfattach mainbus_ca = { }; struct cfdriver mainbus_cd = { - NULL, "mainbus", DV_DULL, 0 + NULL, "mainbus", DV_DULL, }; int -- 2.20.1