s390x/mmu: Remove duplicate check for MMU_DATA_STORE
commit8064af6b1dac60491df611e5c49199d2e1c368c4
authorDavid Hildenbrand <david@redhat.com>
Thu, 17 Oct 2019 12:19:22 +0000 (17 14:19 +0200)
committerCornelia Huck <cohuck@redhat.com>
Mon, 21 Oct 2019 15:30:06 +0000 (21 17:30 +0200)
tree3e00adf4ae3131cd5bd19baca14a882ae03eb1be
parentbe39110d4cbf82bd4f9154d9958cd0a1aea57633
s390x/mmu: Remove duplicate check for MMU_DATA_STORE

No need to double-check if we have a write.

Found by Coverity (CID: 1406404).

Fixes: 31b59419069e ("target/s390x: Return exception from mmu_translate_real")
Cc: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20191017121922.18840-1-david@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/mmu_helper.c