summaryrefslogtreecommitdiffstats
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorweiyongjun (A) <weiyongjun1@huawei.com>2018-01-17 12:28:38 +0100
committerDoug Ledford <dledford@redhat.com>2018-01-18 20:49:21 +0100
commit0b5fe5c43ab67130d259d800fcc109c7340acb63 (patch)
treeba80926ef5b5692822e77a4b3479842a715b0a7a /lib/memory-notifier-error-inject.c
parentIB/mlx5: Mmap the HCA's clock info to user-space (diff)
downloadlinux-0b5fe5c43ab67130d259d800fcc109c7340acb63.tar.xz
linux-0b5fe5c43ab67130d259d800fcc109c7340acb63.zip
RDMA/hns: Remove unnecessary platform_get_resource() error check
devm_ioremap_resource() already checks if the resource is NULL, so remove the unnecessary platform_get_resource() error check. Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions