diff options
author | Alexander Graf <agraf@suse.de> | 2011-09-07 13:47:22 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2011-10-06 09:48:07 +0200 |
commit | 11de8b716665f1f6d5e586c62411f47ae539c0dc (patch) | |
tree | 208f19e1f08d4729a524ffc82f409d7c88dc4e5a /hw/adb.h | |
parent | 8d3a8c1e77b0485d4335aa3733c550dc606ac819 (diff) | |
download | qemu-11de8b716665f1f6d5e586c62411f47ae539c0dc.zip qemu-11de8b716665f1f6d5e586c62411f47ae539c0dc.tar.gz qemu-11de8b716665f1f6d5e586c62411f47ae539c0dc.tar.bz2 |
openpic: Unfold write_IRQreg
The helper function write_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.h')
0 files changed, 0 insertions, 0 deletions