mips64_pracc: fix three dead assignments
commit8f1971295b251dc13b687db493c2daa7f922e940
authorAntonio Borneo <borneo.antonio@gmail.com>
Wed, 22 Sep 2021 17:21:39 +0000 (22 19:21 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Mon, 25 Oct 2021 16:10:16 +0000 (25 16:10 +0000)
tree42f4572396f326595e742a7a5767531df3646e64
parent327040ad745300c6c2117b81c584ff868567ef83
mips64_pracc: fix three dead assignments

Clang scan-build complains for three dead assignments:
Although the value stored to 'data' is used in the
enclosing expression, the value is never actually read
from 'data'

Value stored to 'address' is never read

Remove the useless assignment and the variable 'data'.

Change-Id: Ie8dcb74b1c1aa5eea1acd06b3c45c5b44954c9e7
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6592
Tested-by: jenkins
src/target/mips64_pracc.c