diff options
| author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2010-01-08 15:46:27 +0000 |
|---|---|---|
| committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2010-01-08 15:46:27 +0000 |
| commit | 913e66b64f7714e56ce842c59b93327cfef379e2 (patch) | |
| tree | 91ec91a2ab7e6954061a73aca687a9205793207e /sys/dev/mly | |
| parent | 3745cc73d048c1331d5f349d25f5a0b5197a340a (diff) | |
Notes
Diffstat (limited to 'sys/dev/mly')
| -rw-r--r-- | sys/dev/mly/mly.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/mly/mly.c b/sys/dev/mly/mly.c index 1f61542ba03b..b26c90a7bf6f 100644 --- a/sys/dev/mly/mly.c +++ b/sys/dev/mly/mly.c @@ -117,9 +117,9 @@ static void mly_printstate(struct mly_softc *sc); static void mly_print_command(struct mly_command *mc); static void mly_print_packet(struct mly_command *mc); static void mly_panic(struct mly_softc *sc, char *reason); +static int mly_timeout(struct mly_softc *sc); #endif void mly_print_controller(int controller); -static int mly_timeout(struct mly_softc *sc); static d_open_t mly_user_open; @@ -2981,6 +2981,7 @@ mly_user_health(struct mly_softc *sc, struct mly_user_health *uh) return(error); } +#ifdef MLY_DEBUG static int mly_timeout(struct mly_softc *sc) { @@ -3000,3 +3001,4 @@ mly_timeout(struct mly_softc *sc) return (0); } +#endif |
