ar71xx: Remove mtd cfi_cmdset_0002 status check patch
authorTokunori Ikegami <ikegami.t@gmail.com>
Sun, 5 Jan 2020 08:13:02 +0000 (17:13 +0900)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 5 Jan 2020 18:36:45 +0000 (19:36 +0100)
commitdd15ffbf6b7760b21cab16ad2ef7ed4b36d55a57
tree7106eb5cd03b1844dd3069d39c4fee5460df9663
parent1e27befe63ff4c69f110c7310316f4af75ee63e9
ar71xx: Remove mtd cfi_cmdset_0002 status check patch

Currently the patch only changes break to use goto statement instead.
But not necessary acutually since the ret value checked after the for loop.
So it is okay for the break case before changed by the patch also.

This patch only reverts the following commit partially.
  https://github.com/openwrt/openwrt/commit/ddc11c3932c7b7b7df7d5fbd48f207e77619eaa7
    Note: The changes are mainly applied into the linux kernel upstream.

Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
Cc: Koen Vandeputte <koen.vandeputte@ncentric.com>
target/linux/ar71xx/patches-4.14/403-mtd_fix_cfi_cmdset_0002_status_check.patch [deleted file]