diff options
| author | Witold Szczeponik <[email protected]> | 2011-10-27 18:56:47 +0000 |
|---|---|---|
| committer | Len Brown <[email protected]> | 2011-11-07 01:13:55 +0000 |
| commit | 18fd470a48396c8795ba7256c5973e92ffa25cb3 (patch) | |
| tree | 68cb3b94c29a75039040d83531b132b6cfdbcdf4 /lib/mpi/mpi-cmp.c | |
| parent | Linux 3.1 (diff) | |
| download | kernel-18fd470a48396c8795ba7256c5973e92ffa25cb3.tar.gz kernel-18fd470a48396c8795ba7256c5973e92ffa25cb3.zip | |
PNPACPI: Simplify disabled resource registration
The attached patch simplifies 29df8d8f8702f0f53c1375015f09f04bc8d023c1. As
the "pnp_xxx" structs are not designed to cope with IORESOURCE_DISABLED, and
hence no code can test for this value, setting this value is actually a "no op"
and can be skipped altogether. It is sufficient to remove the checks for
"empty" resources and continue processing.
The patch is applied against 3.1.
Signed-off-by: Witold Szczeponik <[email protected]>
Acked-by: Bjorn Helgaas <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
