mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
mx25l_task: eliminate dev write only variable
Sponsored by: Netflix
This commit is contained in:
parent
05d3c5fd18
commit
edcced8ab7
1 changed files with 0 additions and 2 deletions
|
|
@ -633,10 +633,8 @@ mx25l_task(void *arg)
|
|||
{
|
||||
struct mx25l_softc *sc = (struct mx25l_softc*)arg;
|
||||
struct bio *bp;
|
||||
device_t dev;
|
||||
|
||||
for (;;) {
|
||||
dev = sc->sc_dev;
|
||||
M25PXX_LOCK(sc);
|
||||
do {
|
||||
if (sc->sc_taskstate == TSTATE_STOPPING) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue