]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: mxc_spi: remove redundant code in spi_xchg_single()
authorHaolin Li <li.haolin@qq.com>
Sat, 6 Nov 2021 10:03:34 +0000 (03:03 -0700)
committerStefano Babic <sbabic@denx.de>
Sat, 5 Feb 2022 12:38:39 +0000 (13:38 +0100)
commit6f753d8cea77e1c3bda84237be786118d0cc719d
treeae9716278432f74bc696c35bde94a16924c37bd3
parent556523b95530709a7049ec0ba26d1a2f9f262573
spi: mxc_spi: remove redundant code in spi_xchg_single()

The value of cnt is overwritten without being used.

Signed-off-by: Haolin Li <li.haolin@qq.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
drivers/spi/mxc_spi.c