diff options
author | Marek Vasut | 2024-07-13 15:19:26 +0200 |
---|---|---|
committer | Tom Rini | 2024-07-15 12:12:18 -0600 |
commit | 218a32d6e61fdf1cc50740d5f139ef1b4c226a32 (patch) | |
tree | c1af364a0ec2d297613f15f28b08dffd1c4f423a /net | |
parent | 76964e3f6dd1ec014c765f67844c9bc201749ef2 (diff) |
net: Remove duplicate newlines
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/bootp.h | 1 | ||||
-rw-r--r-- | net/dns.c | 1 | ||||
-rw-r--r-- | net/net.c | 1 | ||||
-rw-r--r-- | net/nfs.c | 1 | ||||
-rw-r--r-- | net/nfs.h | 1 | ||||
-rw-r--r-- | net/rarp.c | 2 | ||||
-rw-r--r-- | net/tftp.c | 1 |
7 files changed, 0 insertions, 8 deletions
diff --git a/net/bootp.h b/net/bootp.h index 4e32b19d424..521d38f3528 100644 --- a/net/bootp.h +++ b/net/bootp.h @@ -65,7 +65,6 @@ struct bootp_hdr { extern u32 bootp_id; /* ID of cur BOOTP request */ extern int bootp_try; - /* Send a BOOTP request */ void bootp_reset(void); void bootp_request(void); diff --git a/net/dns.c b/net/dns.c index c2f0ab98c8d..08ad54a04d5 100644 --- a/net/dns.c +++ b/net/dns.c @@ -121,7 +121,6 @@ static void dns_handler(uchar *pkt, unsigned dest, struct in_addr sip, char ip_str[22]; struct in_addr ip_addr; - debug("%s\n", __func__); if (dest != dns_our_port) return; diff --git a/net/net.c b/net/net.c index 23b5d3356af..d9bc9df643f 100644 --- a/net/net.c +++ b/net/net.c @@ -80,7 +80,6 @@ * Next step: none */ - #include <bootstage.h> #include <command.h> #include <console.h> diff --git a/net/nfs.c b/net/nfs.c index acc7106f10d..537d4c62de2 100644 --- a/net/nfs.c +++ b/net/nfs.c @@ -913,7 +913,6 @@ static void nfs_handler(uchar *pkt, unsigned dest, struct in_addr sip, } } - void nfs_start(void) { debug("%s\n", __func__); diff --git a/net/nfs.h b/net/nfs.h index 68ada0efeb9..6bf1cb76bd5 100644 --- a/net/nfs.h +++ b/net/nfs.h @@ -81,7 +81,6 @@ struct rpc_t { }; void nfs_start(void); /* Begin NFS */ - /**********************************************************************/ #endif /* __NFS_H__ */ diff --git a/net/rarp.c b/net/rarp.c index a6b564e314d..a346e067cb9 100644 --- a/net/rarp.c +++ b/net/rarp.c @@ -45,7 +45,6 @@ void rarp_receive(struct ip_udp_hdr *ip, unsigned len) } } - /* * Timeout on BOOTP request. */ @@ -60,7 +59,6 @@ static void rarp_timeout_handler(void) } } - void rarp_request(void) { uchar *pkt; diff --git a/net/tftp.c b/net/tftp.c index 6b16bdcbe4c..65c39d7fb70 100644 --- a/net/tftp.c +++ b/net/tftp.c @@ -694,7 +694,6 @@ static void tftp_handler(uchar *pkt, unsigned dest, struct in_addr sip, } } - static void tftp_timeout_handler(void) { if (++timeout_count > timeout_count_max) { |