Messages in this thread | | | From | Miquel Raynal <> | Subject | Re: [PATCH] mtd: rawnand: remove never changed ret variable | Date | Fri, 6 Aug 2021 22:02:57 +0200 |
| |
On Tue, 2021-08-03 at 11:33:00 UTC, Jason Wang wrote: > The ret variable used for returning value in the function > `meson_nfc_rw_cmd_prepare_and_execute` is never change after initialising. > Therefore, we can remove it safely and return 0 at the end of the function. > > Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
| |