commit | 04a0f229ada1ed0cbf9811061aed18ac8f900dd5 | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Fri Jun 22 17:29:00 2018 +0100 |
committer | David Howells <dhowells@redhat.com> | Sat Jun 23 00:16:38 2018 +0100 |
tree | 3a9fa82074ffd1acb09589bb480d6b148bbad797 | |
parent | c25c7b2b1948e56d7f01c5b93ba77f44a5072af1 [diff] |
Renumber the ITER_* constants in uio.h Renumber the ITER_* constants in linux/uio.h to make them consecutive integers to make it easier for the compiler to optimise switch-statements based on the iterator type. Also replace all remaining AND-testing of iterator type with comparative tests or switch-statements. Signed-off-by: David Howells <dhowells@redhat.com>