[PATCH 1/3] firmware_loader: remove #include <generated/utsrelease.h>

Masahiro Yamada masahiroy at kernel.org
Sun Nov 27 09:13:19 AEDT 2022


On Sat, Nov 26, 2022 at 2:10 PM Thomas Weißschuh <linux at weissschuh.net> wrote:
>
> utsrelease.h is potentially generated on each build.
> By removing this unused include we can get rid of some spurious
> recompilations.
>
> Signed-off-by: Thomas Weißschuh <linux at weissschuh.net>
> ---

Reviewed-by: Masahiro Yamada <masahiroy at kernel.org>


>  drivers/base/firmware_loader/firmware.h | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/drivers/base/firmware_loader/firmware.h b/drivers/base/firmware_loader/firmware.h
> index fe77e91c38a2..bf549d6500d7 100644
> --- a/drivers/base/firmware_loader/firmware.h
> +++ b/drivers/base/firmware_loader/firmware.h
> @@ -9,8 +9,6 @@
>  #include <linux/list.h>
>  #include <linux/completion.h>
>
> -#include <generated/utsrelease.h>
> -
>  /**
>   * enum fw_opt - options to control firmware loading behaviour
>   *
>
> base-commit: 0b1dcc2cf55ae6523c6fbd0d741b3ac28c9f4536
> --
> 2.38.1
>


-- 
Best Regards
Masahiro Yamada


More information about the Linuxppc-dev mailing list