summary refs log tree commit diff stats
path: root/hw/adb.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2011-09-07 13:41:54 +0200
committerAlexander Graf <agraf@suse.de>2011-10-06 09:48:06 +0200
commit8d3a8c1e77b0485d4335aa3733c550dc606ac819 (patch)
treed68b3bb361d5a83b5d5e3d25caefa3a58e5f3a10 /hw/adb.c
parente5697f20a262e1fbfd8288950d043f359dc19f60 (diff)
downloadfocaccia-qemu-8d3a8c1e77b0485d4335aa3733c550dc606ac819.tar.gz
focaccia-qemu-8d3a8c1e77b0485d4335aa3733c550dc606ac819.zip
openpic: Unfold read_IRQreg
The helper function read_IRQreg was always called with a specific argument on
the type of register to access. Inside the function we were simply doing a
switch on that constant argument again. It's a lot easier to just unfold this
into two separate functions and call each individually.

Reported-by: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/adb.c')
0 files changed, 0 insertions, 0 deletions