diff options
author | Amit Shah <amit.shah@redhat.com> | 2011-04-12 21:36:04 +0530 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-04-13 12:20:31 +0200 |
commit | 493accd624149e9dcf4b89dcbbdbc42621cbc231 (patch) | |
tree | f82b37c78ef1c22e9ecb370cf8dc9da701848725 /os-posix.c | |
parent | 0c370a35498bf9e300a035864bee7ce8460da669 (diff) |
atapi: Move GET_EVENT_STATUS_NOTIFICATION command handling to its own function
This makes the code more readable.
Also, there's a block like:
if () {
...
} else {
...
}
Split that into
if () {
...
return;
}
...
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Acked-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'os-posix.c')
0 files changed, 0 insertions, 0 deletions