diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-01-14 20:50:50 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-01-14 20:50:50 +0000 |
commit | 1e98c85d3254b46ed8d216477a5adf8580834616 (patch) | |
tree | c7808266b235b44443cbe152cb637731c588561b /sys/dev/ic | |
parent | f6626fb981dd9d4254dfc7db5c4ca0d5a8d551bd (diff) |
Do not fill more than the first three fields of cfdriver structures unless
necessary. No functional change.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/trm.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/ic/trm.c b/sys/dev/ic/trm.c index e8a436c645f..022cd5f9095 100644 --- a/sys/dev/ic/trm.c +++ b/sys/dev/ic/trm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trm.c,v 1.3 2003/11/08 19:17:28 jmc Exp $ +/* $OpenBSD: trm.c,v 1.4 2004/01/14 20:50:49 miod Exp $ * ------------------------------------------------------------ * O.S : OpenBSD * File Name : trm.c @@ -129,11 +129,7 @@ void trm_print_info(struct trm_softc *, struct trm_dcb *); * Define structures */ struct cfdriver trm_cd = { - NULL, - "trm", - DV_DULL, - 0, - 0 + NULL, "trm", DV_DULL }; struct scsi_adapter trm_switch = { |