From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53493) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1GsQ-00018C-Gw for qemu-devel@nongnu.org; Sat, 25 Feb 2012 07:37:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S1GsL-0002f3-In for qemu-devel@nongnu.org; Sat, 25 Feb 2012 07:37:26 -0500 From: Stefan Weil Date: Sat, 25 Feb 2012 13:37:13 +0100 Message-Id: <1330173433-32043-3-git-send-email-sw@weilnetz.de> In-Reply-To: <1330173433-32043-1-git-send-email-sw@weilnetz.de> References: <1330173433-32043-1-git-send-email-sw@weilnetz.de> Subject: [Qemu-devel] [PATCH 2/2] sh7750: Remove redundant 'struct' from MemoryRegionOps List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-trivial Cc: Stefan Weil , qemu-devel@nongnu.org The 'struct' is not needed, and all other MemoryRegionOps don't use it. Signed-off-by: Stefan Weil --- hw/sh7750.c | 2 +- hw/sh_intc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/sh7750.c b/hw/sh7750.c index 4f4d8e7..e712928 100644 --- a/hw/sh7750.c +++ b/hw/sh7750.c @@ -712,7 +712,7 @@ static void sh7750_mmct_write(void *opaque, target_phys_addr_t addr, } } -static const struct MemoryRegionOps sh7750_mmct_ops = { +static const MemoryRegionOps sh7750_mmct_ops = { .read = sh7750_mmct_read, .write = sh7750_mmct_write, .endianness = DEVICE_NATIVE_ENDIAN, diff --git a/hw/sh_intc.c b/hw/sh_intc.c index b24ec77..7d31ced 100644 --- a/hw/sh_intc.c +++ b/hw/sh_intc.c @@ -283,7 +283,7 @@ static void sh_intc_write(void *opaque, target_phys_addr_t offset, #endif } -static const struct MemoryRegionOps sh_intc_ops = { +static const MemoryRegionOps sh_intc_ops = { .read = sh_intc_read, .write = sh_intc_write, .endianness = DEVICE_NATIVE_ENDIAN, -- 1.7.9