[PATCH 1/5] include: <linux/bitops.h>: discard left-over hweight code

Sascha Hauer sha at pengutronix.de
Mon Nov 1 02:08:59 PDT 2021


On Sat, Oct 30, 2021 at 04:17:35PM +0200, Ahmad Fatoum wrote:
> There are no definitions for __sw_hweight*, so no point in keeping the
> prototypes around. The scripts version of the header also ultimately
> tries to access non-existing normal headers, so fix that up as well.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
>  include/linux/bitops.h                             | 5 -----
>  scripts/include/asm-generic/bitops/arch_hweight.h  | 1 -
>  scripts/include/asm-generic/bitops/const_hweight.h | 1 -
>  scripts/include/asm-generic/bitops/hweight.h       | 3 +--
>  scripts/include/linux/bitops.h                     | 4 ----
>  5 files changed, 1 insertion(+), 13 deletions(-)
>  delete mode 100644 scripts/include/asm-generic/bitops/arch_hweight.h
>  delete mode 100644 scripts/include/asm-generic/bitops/const_hweight.h

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list