From: Marek Vasut Date: Sat, 13 Jul 2024 13:19:26 +0000 (+0200) Subject: net: Remove duplicate newlines X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=218a32d6e61fdf1cc50740d5f139ef1b4c226a32;p=u-boot.git net: Remove duplicate newlines Drop all duplicate newlines. No functional change. Signed-off-by: Marek Vasut --- diff --git a/net/bootp.h b/net/bootp.h index 4e32b19d42..521d38f352 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 c2f0ab98c8..08ad54a04d 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 23b5d3356a..d9bc9df643 100644 --- a/net/net.c +++ b/net/net.c @@ -80,7 +80,6 @@ * Next step: none */ - #include #include #include diff --git a/net/nfs.c b/net/nfs.c index acc7106f10..537d4c62de 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 68ada0efeb..6bf1cb76bd 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 a6b564e314..a346e067cb 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 6b16bdcbe4..65c39d7fb7 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) {