Re: [PATCH] crypto: hisilicon/qm: drop unnecessary IS_ENABLE(CONFIG_NUMA) check

From: Herbert Xu
Date: Fri Oct 21 2022 - 07:32:38 EST


On Sat, Sep 24, 2022 at 05:34:24PM +0800, Weili Qian wrote:
> From: Yicong Yang <yangyicong@xxxxxxxxxxxxx>
>
> dev_to_node() can handle the case when CONFIG_NUMA is not set, so the
> check of CONFIG_NUMA is redundant and can be removed.
>
> Signed-off-by: Yicong Yang <yangyicong@xxxxxxxxxxxxx>
> Signed-off-by: Weili Qian <qianweili@xxxxxxxxxx>
> ---
> drivers/crypto/hisilicon/qm.c | 10 ++++------
> 1 file changed, 4 insertions(+), 6 deletions(-)

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt