From: jsg Date: Tue, 18 Jun 2024 09:08:02 +0000 (+0000) Subject: remove wdc_ata_addref()/wdc_ata_delref() #if 0'd since rev 1.1 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b0957101a317cb92dcff513fca0a454d10f873eb;p=openbsd remove wdc_ata_addref()/wdc_ata_delref() #if 0'd since rev 1.1 --- diff --git a/sys/dev/ata/ata_wdc.c b/sys/dev/ata/ata_wdc.c index f2731090bdb..10c3e29b7dc 100644 --- a/sys/dev/ata/ata_wdc.c +++ b/sys/dev/ata/ata_wdc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ata_wdc.c,v 1.53 2024/05/26 10:01:01 jsg Exp $ */ +/* $OpenBSD: ata_wdc.c,v 1.54 2024/06/18 09:08:02 jsg Exp $ */ /* $NetBSD: ata_wdc.c,v 1.21 1999/08/09 09:43:11 bouyer Exp $ */ /* @@ -808,23 +808,3 @@ wdc_ata_err(struct ata_drive_datas *drvp, struct ata_bio *ata_bio) ata_bio->flags |= ATA_CORR; return WDC_ATA_NOERR; } - -#if 0 -int -wdc_ata_addref(drvp) - struct ata_drive_datas *drvp; -{ - struct channel_softc *chp = drvp->chnl_softc; - - return (wdc_addref(chp)); -} - -void -wdc_ata_delref(drvp) - struct ata_drive_datas *drvp; -{ - struct channel_softc *chp = drvp->chnl_softc; - - wdc_delref(chp); -} -#endif