diff options
| -rw-r--r-- | drivers/mtd/nand/denali.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c index 4cb1497fe1c0..cd586010f2ec 100644 --- a/drivers/mtd/nand/denali.c +++ b/drivers/mtd/nand/denali.c | |||
| @@ -697,7 +697,6 @@ static uint32_t wait_for_irq(struct denali_nand_info *denali, uint32_t irq_mask) | |||
| 697 | { | 697 | { |
| 698 | unsigned long comp_res; | 698 | unsigned long comp_res; |
| 699 | uint32_t intr_status; | 699 | uint32_t intr_status; |
| 700 | bool retry = false; | ||
| 701 | unsigned long timeout = msecs_to_jiffies(1000); | 700 | unsigned long timeout = msecs_to_jiffies(1000); |
| 702 | 701 | ||
| 703 | do { | 702 | do { |
| @@ -717,7 +716,6 @@ static uint32_t wait_for_irq(struct denali_nand_info *denali, uint32_t irq_mask) | |||
| 717 | * need to wait again | 716 | * need to wait again |
| 718 | */ | 717 | */ |
| 719 | spin_unlock_irq(&denali->irq_lock); | 718 | spin_unlock_irq(&denali->irq_lock); |
| 720 | retry = true; | ||
| 721 | } | 719 | } |
| 722 | } while (comp_res != 0); | 720 | } while (comp_res != 0); |
| 723 | 721 | ||
