Remove dead code.

The #ifdef __FreeBSD__ section within the OpenBSD tpm_attach() implementation
can never be active.
This commit is contained in:
David E. O'Brien 2017-04-06 22:21:49 +00:00
parent 3949295f36
commit 9b6f7440b5

View File

@ -422,12 +422,8 @@ tpm_attach(device_t parent, device_t self, void *aux)
return;
}
#ifdef __FreeBSD__
sc->sc_suspend = 0;
#else
sc->sc_suspend = PWR_RESUME;
sc->sc_powerhook = powerhook_establish(tpm_powerhook, sc);
#endif
}
#endif