mtd: cfi_cmdset_0002: remove redundant assignment to variable timeo
authorColin Ian King <colin.king@canonical.com>
Thu, 25 Mar 2021 17:45:14 +0000 (17:45 +0000)
committerVignesh Raghavendra <vigneshr@ti.com>
Wed, 7 Apr 2021 18:43:19 +0000 (00:13 +0530)
commitf3907773d60229afa8e6c0a3ee5085715192a9cb
tree30a1f9d9684e0c52eb0cab802616045a702ea466
parent7e4404113686868858a34210c28ae122e967aa64
mtd: cfi_cmdset_0002: remove redundant assignment to variable timeo

The variable timeo is being initialized with a value that is never read
and it is being updated later with a new value.  The initialization is
redundant and can be removed.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Link: https://lore.kernel.org/r/20210325174514.486272-1-colin.king@canonical.com
Addresses-Coverity: ("Unused value")
drivers/mtd/chips/cfi_cmdset_0002.c