flash: stmqspi: fix clang error 'dead assignment'
commit1dea9ab41f988c5173325521b1e9b75274a785da
authorAntonio Borneo <borneo.antonio@gmail.com>
Wed, 2 Nov 2022 22:11:19 +0000 (2 23:11 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Fri, 11 Nov 2022 20:12:48 +0000 (11 20:12 +0000)
treed8439e1275ed239539da25e460b103e934f9dcf7
parent5fc4882b8039dbd35f2efcd1419e83fbda9eba28
flash: stmqspi: fix clang error 'dead assignment'

The variable retval is assigned a value that is never used, as it
is reassigned few lines below.

Drop the dead assignment.

Change-Id: Id4e9134408fab3e04936d36e95724bf8d3ab55aa
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7304
Tested-by: jenkins
src/flash/nor/stmqspi.c