diff options
author | Huaisheng Ye <yehs1@lenovo.com> | 2018-07-30 09:15:46 +0200 |
---|---|---|
committer | Dave Jiang <dave.jiang@intel.com> | 2018-07-30 18:39:28 +0200 |
commit | e0b401e3fef0f81fd87434793db1adb0d7568058 (patch) | |
tree | c0f68108b5d37ee18f15b4dfb0b48f234917808c /drivers/acpi/resource.c | |
parent | tools/testing/nvdimm: kaddr and pfn can be NULL to ->direct_access() (diff) | |
download | linux-e0b401e3fef0f81fd87434793db1adb0d7568058.tar.xz linux-e0b401e3fef0f81fd87434793db1adb0d7568058.zip |
dax/super: Do not request a pointer kaddr when not required
Function __bdev_dax_supported doesn't need to get local pointer kaddr
from direct_access. Using NULL instead of having to pass in a useless
local pointer that caller then just throw away.
Signed-off-by: Huaisheng Ye <yehs1@lenovo.com>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'drivers/acpi/resource.c')
0 files changed, 0 insertions, 0 deletions