mtd: cfi_cmdset_*: kill useless 'ret' variable initializers
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Thu, 3 Oct 2019 20:27:39 +0000 (23:27 +0300)
committerVignesh Raghavendra <vigneshr@ti.com>
Sat, 9 Nov 2019 09:12:09 +0000 (14:42 +0530)
commitea4f51356fd986124beeab8e21b048dfe06d67e7
tree87f2d94da2bf33cd7ee2d925a3bddccc70611bb9
parentd532c28b8c151cdb5b50280801c748ac4d93d563
mtd: cfi_cmdset_*: kill useless 'ret' variable initializers

The 'ret' local variables are typically initialized to 0 but this value is
often unused, thus we can kill those initializers.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
drivers/mtd/chips/cfi_cmdset_0001.c
drivers/mtd/chips/cfi_cmdset_0002.c
drivers/mtd/chips/cfi_cmdset_0020.c