rtl8195am - fix dhcps.c warnings

Fix the following errors:

[Warning] dhcps.c@158,1: label 'Exit' defined but not used [-Wunused-label]
[Warning] dhcps.c@161,13: 'dump_client_table' defined but not used [-Wunused-function]

Signed-off-by: Tony Wu <tonywu@realtek.com>
pull/6651/head
Tony Wu 2018-04-17 16:34:45 +08:00
parent 7ac365c258
commit 71859debd6
1 changed files with 3 additions and 1 deletions

View File

@ -155,9 +155,10 @@ static uint8_t check_client_request_ip(ip_addr_t *client_req_ip, uint8_t *hwaddr
if(i == DHCP_POOL_END+1)
ip_addr4 = 0;
Exit:
return ip_addr4;
}
#if debug_dhcps
static void dump_client_table()
{
#if 0
@ -175,6 +176,7 @@ static void dump_client_table()
printf("\r\n");
#endif
}
#endif
#endif //CONFIG_DHCPS_KEPT_CLIENT_INFO
#endif