]> git.baikalelectronics.ru Git - kernel.git/commit
ehea: replace with page_shift() in ehea_is_hugepage()
authorYunfeng Ye <yeyunfeng@huawei.com>
Tue, 5 Nov 2019 11:30:45 +0000 (19:30 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Nov 2019 18:23:35 +0000 (10:23 -0800)
commit418528605786400732731ea53ea70138f288136e
tree7085dcebb6d77bd27388f112a83354107eb053ea
parent5a5e29732ab36b894b7691f1e578686f3c377240
ehea: replace with page_shift() in ehea_is_hugepage()

The function page_shift() is supported after the commit b176076ec769
("mm: introduce page_shift()").

So replace with page_shift() in ehea_is_hugepage() for readability.

Signed-off-by: Yunfeng Ye <yeyunfeng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ehea/ehea_qmr.c