Remove dead code.
The #ifdef __FreeBSD__ section within the OpenBSD tpm_attach() implementation can never be active.
This commit is contained in:
parent
3949295f36
commit
9b6f7440b5
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user