diff options
author | Alexander Graf <agraf@suse.de> | 2011-09-07 13:41:54 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2011-10-06 09:48:06 +0200 |
commit | 8d3a8c1e77b0485d4335aa3733c550dc606ac819 (patch) | |
tree | d68b3bb361d5a83b5d5e3d25caefa3a58e5f3a10 /hw/ppc_mac.h | |
parent | e5697f20a262e1fbfd8288950d043f359dc19f60 (diff) |
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/ppc_mac.h')
0 files changed, 0 insertions, 0 deletions