diff options
author | RinHizakura <s921975628@gmail.com> | 2021-12-25 18:06:48 +0800 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2022-01-23 16:37:05 +0100 |
commit | db52b445793d8e4ffe9b53ff749a55470b900984 (patch) | |
tree | 2d1168938613e900127dd45a88f21f00298eb38e /Makefile | |
parent | e0a9ddd5d9e1c66caefda825b3cea8ea9bd21bf0 (diff) | |
download | linux-stable-db52b445793d8e4ffe9b53ff749a55470b900984.tar.gz linux-stable-db52b445793d8e4ffe9b53ff749a55470b900984.tar.bz2 linux-stable-db52b445793d8e4ffe9b53ff749a55470b900984.zip |
mtd: rawnand: nandsim: Merge repeat codes in ns_switch_state
The moving block of codes is shared between both 'if' and 'else' condition,
we can move it out to reduce the duplication.
Signed-off-by: RinHizakura <s921975628@gmail.com>
Reviewed-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20211225100648.119011-1-s921975628@gmail.com
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions