Skip to content

Commit e520ecf

Browse files
mcgrofgregkh
authored andcommitted
firmware_loader: remove old DECLARE_BUILTIN_FIRMWARE()
This was never used upstream. Time to get rid of it. We don't carry around unused baggage. Reviewed-by: Borislav Petkov <bp@suse.de> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org> Link: https://lore.kernel.org/r/20211021155843.1969401-3-mcgrof@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 48d09e9 commit e520ecf

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

include/linux/firmware.h

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,6 @@ struct builtin_fw {
3232
};
3333

3434
bool firmware_request_builtin(struct firmware *fw, const char *name);
35-
36-
/* We have to play tricks here much like stringify() to get the
37-
__COUNTER__ macro to be expanded as we want it */
38-
#define __fw_concat1(x, y) x##y
39-
#define __fw_concat(x, y) __fw_concat1(x, y)
40-
41-
#define DECLARE_BUILTIN_FIRMWARE(name, blob) \
42-
DECLARE_BUILTIN_FIRMWARE_SIZE(name, &(blob), sizeof(blob))
43-
44-
#define DECLARE_BUILTIN_FIRMWARE_SIZE(name, blob, size) \
45-
static const struct builtin_fw __fw_concat(__builtin_fw,__COUNTER__) \
46-
__used __section(".builtin_fw") = { name, blob, size }
47-
4835
#else
4936
static inline bool firmware_request_builtin(struct firmware *fw,
5037
const char *name)

0 commit comments

Comments
 (0)