summary refs log tree commit diff stats
path: root/hw/intc/omap_intc.c
diff options
context:
space:
mode:
authorPaul Durrant <paul.durrant@citrix.com>2018-05-17 16:35:58 +0100
committerStefano Stabellini <sstabellini@kernel.org>2018-05-22 11:43:22 -0700
commit443c3c9cf1a18afcc705745d18101a4ea4de5b26 (patch)
treef9a46aa70feaefc5db59abd7832788e68306d100 /hw/intc/omap_intc.c
parent5ebf96265244e720d56367703a752f05010b7d55 (diff)
downloadfocaccia-qemu-443c3c9cf1a18afcc705745d18101a4ea4de5b26.tar.gz
focaccia-qemu-443c3c9cf1a18afcc705745d18101a4ea4de5b26.zip
xen_disk: be consistent with use of xendev and blkdev->xendev
Certain functions in xen_disk are called with a pointer to xendev
(struct XenDevice *). They then use container_of() to acces the surrounding
blkdev (struct XenBlkDev) but then in various places use &blkdev->xendev
when use of the original xendev pointer is shorter to express and clearly
equivalent.

This patch is a purely cosmetic patch which makes sure there is a xendev
pointer on stack for any function where the pointer is need on multiple
occasions modified those functions to use it consistently.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'hw/intc/omap_intc.c')
0 files changed, 0 insertions, 0 deletions