diff options
Diffstat (limited to 'drivers/mtd/ubi/wl.c')
-rw-r--r-- | drivers/mtd/ubi/wl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/wl.c b/drivers/mtd/ubi/wl.c index a471a491f0ab..cc8fe2934d2b 100644 --- a/drivers/mtd/ubi/wl.c +++ b/drivers/mtd/ubi/wl.c | |||
@@ -1368,7 +1368,7 @@ int ubi_thread(void *u) | |||
1368 | int err; | 1368 | int err; |
1369 | 1369 | ||
1370 | if (kthread_should_stop()) | 1370 | if (kthread_should_stop()) |
1371 | goto out; | 1371 | break; |
1372 | 1372 | ||
1373 | if (try_to_freeze()) | 1373 | if (try_to_freeze()) |
1374 | continue; | 1374 | continue; |
@@ -1403,7 +1403,6 @@ int ubi_thread(void *u) | |||
1403 | cond_resched(); | 1403 | cond_resched(); |
1404 | } | 1404 | } |
1405 | 1405 | ||
1406 | out: | ||
1407 | dbg_wl("background thread \"%s\" is killed", ubi->bgt_name); | 1406 | dbg_wl("background thread \"%s\" is killed", ubi->bgt_name); |
1408 | return 0; | 1407 | return 0; |
1409 | } | 1408 | } |