make this build w/o SIISATA_DEBUG

This commit is contained in:
cegger 2009-06-17 19:12:48 +00:00
parent a36955c23e
commit 77578bbc3a

View File

@ -1,4 +1,4 @@
/* $NetBSD: siisata.c,v 1.3 2009/06/17 04:37:57 jakllsch Exp $ */
/* $NetBSD: siisata.c,v 1.4 2009/06/17 19:12:48 cegger Exp $ */
/* from ahcisata_core.c */
@ -876,8 +876,10 @@ siisata_cmd_kill_xfer(struct ata_channel *chp, struct ata_xfer *xfer,
int
siisata_cmd_complete(struct ata_channel *chp, struct ata_xfer *xfer, int slot)
{
struct siisata_softc *sc = (struct siisata_softc *)chp->ch_atac;
struct ata_command *ata_c = xfer->c_cmd;
#ifdef SIISATA_DEBUG
struct siisata_softc *sc = (struct siisata_softc *)chp->ch_atac;
#endif
SIISATA_DEBUG_PRINT(
("%s: %s\n", SIISATANAME(sc), __func__), DEBUG_FUNCS);