From 426d6d0839ddbb1391e7a8f2aa2ddbf637ddf349 Mon Sep 17 00:00:00 2001 From: isaki Date: Sun, 3 Jul 2005 10:22:25 +0000 Subject: [PATCH] cfmatch_t was removed at sys/device.h rev 1.75, and there is no need to cast for NULL. --- sys/arch/amiga/amiga/autoconf.c | 6 +++--- sys/arch/atari/atari/autoconf.c | 6 +++--- sys/arch/x68k/x68k/autoconf.c | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sys/arch/amiga/amiga/autoconf.c b/sys/arch/amiga/amiga/autoconf.c index 9dadee0acefa..93bc21de0af5 100644 --- a/sys/arch/amiga/amiga/autoconf.c +++ b/sys/arch/amiga/amiga/autoconf.c @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.c,v 1.96 2005/06/30 17:03:52 drochner Exp $ */ +/* $NetBSD: autoconf.c,v 1.97 2005/07/03 10:22:25 isaki Exp $ */ /* * Copyright (c) 1994 Christian E. Hopps @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.96 2005/06/30 17:03:52 drochner Exp $"); +__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.97 2005/07/03 10:22:25 isaki Exp $"); #include #include @@ -179,7 +179,7 @@ amiga_config_found(pcfp, pdp, auxp, pfn) pdp->dv_cfdriver = config_cfdriver_lookup(pcfp->cf_name); pdp->dv_unit = pcfp->cf_unit; - if ((cf = config_search_ia((cfmatch_t)NULL, pdp, NULL, auxp)) != NULL) { + if ((cf = config_search_ia(NULL, pdp, NULL, auxp)) != NULL) { ca = config_cfattach_lookup(cf->cf_name, cf->cf_atname); if (ca != NULL) { (*ca->ca_attach)(pdp, NULL, auxp); diff --git a/sys/arch/atari/atari/autoconf.c b/sys/arch/atari/atari/autoconf.c index 754cbd266f06..a880d72c97d5 100644 --- a/sys/arch/atari/atari/autoconf.c +++ b/sys/arch/atari/atari/autoconf.c @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.c,v 1.50 2005/06/30 17:03:52 drochner Exp $ */ +/* $NetBSD: autoconf.c,v 1.51 2005/07/03 10:22:25 isaki Exp $ */ /* * Copyright (c) 1995 Leo Weppelman @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.50 2005/06/30 17:03:52 drochner Exp $"); +__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.51 2005/07/03 10:22:25 isaki Exp $"); #include #include @@ -112,7 +112,7 @@ atari_config_found(pcfp, pdp, auxp, pfn) pdp->dv_cfdriver = config_cfdriver_lookup(pcfp->cf_name); pdp->dv_unit = pcfp->cf_unit; - if ((cf = config_search_ia((cfmatch_t)NULL, pdp, NULL, auxp)) != NULL) { + if ((cf = config_search_ia(NULL, pdp, NULL, auxp)) != NULL) { ca = config_cfattach_lookup(cf->cf_name, cf->cf_atname); if (ca != NULL) { (*ca->ca_attach)(pdp, NULL, auxp); diff --git a/sys/arch/x68k/x68k/autoconf.c b/sys/arch/x68k/x68k/autoconf.c index dc36c6a6c8c5..83c2b6b2a7a1 100644 --- a/sys/arch/x68k/x68k/autoconf.c +++ b/sys/arch/x68k/x68k/autoconf.c @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.c,v 1.43 2005/06/30 17:03:54 drochner Exp $ */ +/* $NetBSD: autoconf.c,v 1.44 2005/07/03 10:22:25 isaki Exp $ */ /* * Copyright (c) 1995 Leo Weppelman @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.43 2005/06/30 17:03:54 drochner Exp $"); +__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.44 2005/07/03 10:22:25 isaki Exp $"); #include "opt_compat_netbsd.h" #include "scsibus.h" @@ -115,7 +115,7 @@ x68k_config_found(struct cfdata *pcfp, struct device *pdp, void *auxp, pdp->dv_cfdata = pcfp; pdp->dv_cfdriver = config_cfdriver_lookup(pcfp->cf_name); pdp->dv_unit = 0; - if ((cf = config_search_ia((cfmatch_t)NULL, pdp, NULL, auxp)) != NULL) { + if ((cf = config_search_ia(NULL, pdp, NULL, auxp)) != NULL) { ca = config_cfattach_lookup(cf->cf_name, cf->cf_atname); if (ca != NULL) { (*ca->ca_attach)(pdp, NULL, auxp);