[PATCH 35/45] net: Remove duplicate newlines
Marek Vasut
marek.vasut+renesas at mailbox.org
Sat Jul 13 15:19:26 CEST 2024
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
---
Cc: Francesco Dolcini <francesco.dolcini at toradex.com>
Cc: Sean Anderson <seanga2 at gmail.com>
Cc: Simon Glass <sjg at chromium.org>
Cc: Tom Rini <trini at konsulko.com>
Cc: u-boot at lists.denx.de
---
net/bootp.h | 1 -
net/dns.c | 1 -
net/net.c | 1 -
net/nfs.c | 1 -
net/nfs.h | 1 -
net/rarp.c | 2 --
net/tftp.c | 1 -
7 files changed, 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) {
--
2.43.0
More information about the U-Boot
mailing list