Re: [PATCH net-next 1/4] net/smc: remove unreferenced header in smc_loopback.h file

D. Wythe
2024-07-31T03:18:15Z

On 7/30/24 9:25 AM, Zhengchao Shao wrote:
> Because linux/err.h is unreferenced in smc_loopback.h file, so
> remove it.
>
> Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
> ---
> net/smc/smc_loopback.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/net/smc/smc_loopback.h b/net/smc/smc_loopback.h
> index 6dd4292dae56..04dc6808d2e1 100644
> --- a/net/smc/smc_loopback.h
> +++ b/net/smc/smc_loopback.h
> @@ -15,7 +15,6 @@
> #define _SMC_LOOPBACK_H
>
> #include <linux/device.h>
> -#include <linux/err.h>
> #include <net/smc.h>
>
> #if IS_ENABLED(CONFIG_SMC_LO)

LGTM, Thanks.

Reviewed-by: D. Wythe <alibuda@linux.alibaba.com>