1 From 00adcdb64a5487f0ea6b400d912dcf7c58637696 Mon Sep 17 00:00:00 2001
2 From: Denys Vlasenko <vda.linux@googlemail.com>
3 Date: Fri, 20 Aug 2021 13:33:50 +0200
4 Subject: udhcp: fix build breakage on MIPS
6 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
8 networking/udhcp/common.h | 12 ------------
9 1 file changed, 12 deletions(-)
11 diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h
12 index 8c678dd32..ca778dab8 100644
13 --- a/networking/udhcp/common.h
14 +++ b/networking/udhcp/common.h
15 @@ -304,18 +304,6 @@ void udhcp_dump_packet(struct dhcp_packet *packet) FAST_FUNC;
16 # define log3s(msg) ((void)0)
19 -#if defined(__mips__)
21 - * The 'simple' message functions have a negative impact on the size of the
22 - * DHCP code when compiled for MIPS, so don't use them in this case.
24 -#define bb_simple_info_msg bb_info_msg
25 -#define bb_simple_error_msg bb_error_msg
26 -#define bb_simple_perror_msg_and_die bb_perror_msg_and_die
31 /*** Other shared functions ***/
33 /* 2nd param is "uint32_t*" */