OSDN Git Service

msf2: Remove dead code reported by Coverity
authorSubbaraya Sundeep <sundeep.lkml@gmail.com>
Tue, 31 Oct 2017 11:50:51 +0000 (11:50 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 31 Oct 2017 11:50:51 +0000 (11:50 +0000)
commitcda607d5e0178d0268066d94dd06b89614304a7d
treea0df42fa60aa0fe73cde0f3a15e6890f3c068d7c
parent0f2bf05ce7b2b64f2a3ecb98de10a8100228c9a6
msf2: Remove dead code reported by Coverity

Fixed incorrect frame size mask, validated maximum frame
size in spi_write and removed dead code.

Signed-off-by: Subbaraya Sundeep <sundeep.lkml@gmail.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Message-id: 1508898544-10307-1-git-send-email-sundeep.lkml@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/ssi/mss-spi.c