diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2020-11-20 10:20:57 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2020-12-17 22:52:28 +0100 |
commit | 8bcbe3132c66c07d03f64d5da80be753359f2e92 (patch) | |
tree | 1da7900e165214933e8780b5734b42b08c7233c0 /include/asm-generic/resource.h | |
parent | device-dax/core: Fix memory leak when rmmod dax.ko (diff) | |
download | linux-8bcbe3132c66c07d03f64d5da80be753359f2e92.tar.xz linux-8bcbe3132c66c07d03f64d5da80be753359f2e92.zip |
device-dax: delete a redundancy check in dev_dax_validate_align()
After we have done the alignment check for the length of each range, the
alignment check for dev_dax_size(dev_dax) is no longer needed, because it
get the sum of the length of each range.
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20201120092057.2144-1-thunder.leizhen@huawei.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/asm-generic/resource.h')
0 files changed, 0 insertions, 0 deletions