flexspi: In flex_spi_task remove dev, it's write only
Sponsored by: Netflix
This commit is contained in:
parent
094b2a2379
commit
20669405d2
@ -937,11 +937,9 @@ flex_spi_task(void *arg)
|
||||
{
|
||||
struct flex_spi_softc *sc;
|
||||
struct bio *bp;
|
||||
device_t dev;
|
||||
|
||||
sc = (struct flex_spi_softc *)arg;
|
||||
for (;;) {
|
||||
dev = sc->dev;
|
||||
mtx_lock(&sc->disk_mtx);
|
||||
do {
|
||||
if (sc->taskstate == TSTATE_STOPPING) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user