treewide: drop unused header files
Subsystems (3)
PATCH 1/1 treewide: drop unused header files
Signed-off-by Antony Pavlov <[email protected]>
--- include/usb_dfu_trailer.h | 32 -- lib/bzlib_private.h | 521 ------------------- lib/zstd/zstd_opt.h | 1014 ------------------------------------- net/nfs.h | 68 --- 4 files changed, 1635 deletions(-)
include/usb_dfu_trailer.h deleted +0 -32
@@ -1,32 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef _USB_DFU_TRAILER_H -#define _USB_DFU_TRAILER_H - -/* trailer handling for DFU files */ - -#define BAREBOX_DFU_TRAILER_V1 1 -#define BAREBOX_DFU_TRAILER_MAGIC 0x19731978 -struct barebox_dfu_trailer { -u_int32_t magic; -u_int16_t version; -u_int16_t length; -u_int16_t vendor; -u_int16_t product; -u_int32_t revision; -} __attribute__((packed)); - -/* we mirror the trailer because we want it to be longer in later versions -* while keeping backwards compatibility */ -static inline void dfu_trailer_mirror (struct barebox_dfu_trailer *trailer, -unsigned char *eof) -{ -int i; -int len =sizeof (struct barebox_dfu_trailer ); -unsigned char *src = eof - len; -unsigned char *dst = (unsigned char *) trailer; - -for (i =0 ; i < len; i++) - dst[len-1 -i] = src[i]; -} - -#endif /* _USB_DFU_TRAILER_H */
lib/bzlib_private.h deleted +0 -521
521 lines not on this page · raw message
lib/zstd/zstd_opt.h deleted +0 -1014
1,014 lines not on this page · raw message
net/nfs.h deleted +0 -68
68 lines not on this page · raw message
Signature · 1 line
2.39.0
Sascha Hauer
AppliedQuoted 1 line · Antony Pavlov
Applied, thanks!
[1/1] treewide: drop unused header files
https://git.pengutronix.de/cgit/barebox/commit/?id=67643db3a914 (link may not be stable)
Best regards,
Signature · 1 line
Sascha Hauer <[email protected]>