diff options
author | Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> | 2023-08-05 23:11:37 +0530 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2023-08-18 16:34:22 +0200 |
commit | 847178fe4ccdf7f70beddd91eb15481afee0a224 (patch) | |
tree | 288b115b54d2fd970bd9fb73d5f10818b13cef73 /lib/lockref.c | |
parent | 3549fecd10d24bcf9840ba2f7d6a0b5f57feed6f (diff) | |
download | linux-stable-847178fe4ccdf7f70beddd91eb15481afee0a224.tar.gz linux-stable-847178fe4ccdf7f70beddd91eb15481afee0a224.tar.bz2 linux-stable-847178fe4ccdf7f70beddd91eb15481afee0a224.zip |
mtd: rawnand: qcom: Remove superfluous initialization of "ret"
In all the cases, "ret" variable is assigned a value before returning it.
So there is no need to explicitly initialize it with 0.
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20230805174146.57006-2-manivannan.sadhasivam@linaro.org
Diffstat (limited to 'lib/lockref.c')
0 files changed, 0 insertions, 0 deletions