On 8/23/19 12:42 PM, Tony Nguyen wrote:
> Simplify code with MemOp short hand for host endianness, 0.
> 
>  typedef enum MemOp {
>      /* snip */
>  #ifdef HOST_WORDS_BIGENDIAN
>      MO_LE    = MO_BSWAP,
>      MO_BE    = 0,
>  #else
>      MO_LE    = 0,
>      MO_BE    = MO_BSWAP,
>  #endif
>      /* snip */
>  };
> 
> Signed-off-by: Tony Nguyen <tony.ngu...@bt.com>
> ---
>  include/exec/cpu-common.h | 8 --------
>  memory.c                  | 2 +-
>  2 files changed, 1 insertion(+), 9 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>


r~


Reply via email to