hw/ssi: imx_spi: Remove pointless variable initialization
commit9c431a43a62255402a6bbe9a01b0464e73b30fe4
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 29 Jan 2021 13:23:16 +0000 (29 21:23 +0800)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 2 Feb 2021 17:00:54 +0000 (2 17:00 +0000)
tree95b72355eb17fa236bf729656e99f8402a4c914f
parent3c9829e57468f3a53078aa2e10d35afde3208b36
hw/ssi: imx_spi: Remove pointless variable initialization

'burst_length' is cleared in imx_spi_reset(), which is called
after imx_spi_realize(). Remove the initialization to simplify.

Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Bin Meng <bin.meng@windriver.com>
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Message-id: 20210129132323.30946-4-bmeng.cn@gmail.com
Message-Id: <20210115153049.3353008-3-f4bug@amsat.org>
Reviewed-by: Bin Meng <bin.meng@windriver.com>
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/ssi/imx_spi.c