diff options
| author | Baruch Siach <[email protected]> | 2020-05-20 13:31:41 +0300 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2020-06-12 13:17:23 -0400 |
| commit | f1d925d9c39628d346b3809408695cd5c8b8faa2 (patch) | |
| tree | 48fcd8954ca5d99a1b0e834d24031fbc353bf762 /include | |
| parent | 0813921042c363a9c591454144226e67ed21a223 (diff) | |
net: move random_port() to dns
The random_port() routine is not used anywhere else. Make it local to
dns.c to reduce code clutter, and shrink generated code a little.
Signed-off-by: Baruch Siach <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net.h b/include/net.h index 00a8ec0c78a..1bf9867f8cf 100644 --- a/include/net.h +++ b/include/net.h @@ -897,9 +897,6 @@ int is_serverip_in_cmd(void); */ int net_parse_bootfile(struct in_addr *ipaddr, char *filename, int max_len); -/* get a random source port */ -unsigned int random_port(void); - /** * update_tftp - Update firmware over TFTP (via DFU) * |
