From 2c95fef501b07d63f2bc3f5dee59d7a3fb87abd3 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 26 Feb 2016 07:35:55 -0600 Subject: [PATCH] Remove some empty code section comments --- net/iob/iob.h | 12 ------------ net/iob/iob_clone.c | 12 ------------ net/iob/iob_concat.c | 16 ---------------- net/iob/iob_contig.c | 12 ------------ net/iob/iob_copyin.c | 8 -------- net/iob/iob_copyout.c | 12 ------------ net/iob/iob_free_chain.c | 16 ---------------- net/iob/iob_free_qentry.c | 16 ---------------- net/iob/iob_free_queue.c | 12 ------------ net/iob/iob_initialize.c | 8 -------- net/iob/iob_pack.c | 12 ------------ net/iob/iob_test.c | 16 ++-------------- net/iob/iob_trimhead.c | 12 ------------ net/iob/iob_trimhead_queue.c | 12 ------------ net/iob/iob_trimtail.c | 16 ---------------- net/netdev/netdev.h | 8 -------- net/netdev/netdev_carrier.c | 20 -------------------- net/netdev/netdev_count.c | 20 -------------------- net/netdev/netdev_default.c | 24 ------------------------ net/netdev/netdev_foreach.c | 20 -------------------- net/netdev/netdev_rxnotify.c | 20 -------------------- net/netdev/netdev_txnotify.c | 20 -------------------- net/netdev/netdev_unregister.c | 16 ---------------- net/pkt/pkt_callback.c | 8 -------- net/pkt/pkt_finddev.c | 8 -------- net/pkt/pkt_input.c | 12 ------------ net/pkt/pkt_poll.c | 16 ---------------- net/pkt/pkt_send.c | 4 ---- net/socket/accept.c | 4 ---- net/socket/net_close.c | 4 ---- net/socket/net_dupsd.c | 4 ---- net/socket/net_monitor.c | 5 +---- net/socket/net_vfcntl.c | 4 ---- net/socket/send.c | 12 ------------ net/tcp/tcp.h | 1 + net/tcp/tcp_accept.c | 8 -------- net/tcp/tcp_appsend.c | 16 ---------------- net/tcp/tcp_backlog.c | 8 -------- net/tcp/tcp_callback.c | 4 ---- net/tcp/tcp_devpoll.c | 16 ---------------- net/tcp/tcp_finddev.c | 4 ---- net/tcp/tcp_input.c | 12 ------------ net/tcp/tcp_ipselect.c | 8 -------- net/tcp/tcp_send.c | 8 -------- net/tcp/tcp_send_buffered.c | 4 ---- net/tcp/tcp_seqno.c | 8 -------- net/tcp/tcp_timer.c | 16 ---------------- net/tcp/tcp_wrbuffer.c | 4 ---- net/tcp/tcp_wrbuffer_dump.c | 4 ---- 49 files changed, 4 insertions(+), 538 deletions(-) diff --git a/net/iob/iob.h b/net/iob/iob.h index 5b14e7e5699..cbef08ddc0f 100644 --- a/net/iob/iob.h +++ b/net/iob/iob.h @@ -48,14 +48,6 @@ #ifdef CONFIG_NET_IOB -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/**************************************************************************** - * Private Types - ****************************************************************************/ - /**************************************************************************** * Public Data ****************************************************************************/ @@ -80,10 +72,6 @@ extern sem_t g_throttle_sem; /* Counts available I/O buffers when throttled */ extern sem_t g_qentry_sem; /* Counts free I/O buffer queue containers */ #endif -/**************************************************************************** - * Public Data - ****************************************************************************/ - /**************************************************************************** * Public Function Prototypes ****************************************************************************/ diff --git a/net/iob/iob_clone.c b/net/iob/iob_clone.c index 1162b87dd82..db29abde242 100644 --- a/net/iob/iob_clone.c +++ b/net/iob/iob_clone.c @@ -63,18 +63,6 @@ # define MIN(a,b) ((a) < (b) ? (a) : (b)) #endif -/**************************************************************************** - * Private Types - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Public Data - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/iob/iob_concat.c b/net/iob/iob_concat.c index 21ad4e1fc04..b543d63e6cc 100644 --- a/net/iob/iob_concat.c +++ b/net/iob/iob_concat.c @@ -52,22 +52,6 @@ #include "iob.h" -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/**************************************************************************** - * Private Types - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Public Data - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/iob/iob_contig.c b/net/iob/iob_contig.c index 9c3a6306ba5..749e72a0c76 100644 --- a/net/iob/iob_contig.c +++ b/net/iob/iob_contig.c @@ -63,18 +63,6 @@ # define MIN(a,b) ((a) < (b) ? (a) : (b)) #endif -/**************************************************************************** - * Private Types - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Public Data - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/iob/iob_copyin.c b/net/iob/iob_copyin.c index d4a18e78314..c5030c91c56 100644 --- a/net/iob/iob_copyin.c +++ b/net/iob/iob_copyin.c @@ -70,14 +70,6 @@ typedef CODE struct iob_s *(*iob_alloc_t)(bool throttled); -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Public Data - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/iob/iob_copyout.c b/net/iob/iob_copyout.c index e7b682651c2..2cb0a10be62 100644 --- a/net/iob/iob_copyout.c +++ b/net/iob/iob_copyout.c @@ -62,18 +62,6 @@ # define MIN(a,b) ((a) < (b) ? (a) : (b)) #endif -/**************************************************************************** - * Private Types - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Public Data - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/iob/iob_free_chain.c b/net/iob/iob_free_chain.c index 2534bde1006..810622e8288 100644 --- a/net/iob/iob_free_chain.c +++ b/net/iob/iob_free_chain.c @@ -51,22 +51,6 @@ #include "iob.h" -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/**************************************************************************** - * Private Types - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Public Data - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/iob/iob_free_qentry.c b/net/iob/iob_free_qentry.c index 2c5e6fc6e94..e663d8a2ea2 100644 --- a/net/iob/iob_free_qentry.c +++ b/net/iob/iob_free_qentry.c @@ -57,22 +57,6 @@ #if CONFIG_IOB_NCHAINS > 0 -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/**************************************************************************** - * Private Types - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Public Data - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/iob/iob_free_queue.c b/net/iob/iob_free_queue.c index cf7ffff0c41..91ded4f42c4 100644 --- a/net/iob/iob_free_queue.c +++ b/net/iob/iob_free_queue.c @@ -58,22 +58,10 @@ * Pre-processor Definitions ****************************************************************************/ -/**************************************************************************** - * Private Types - ****************************************************************************/ - #ifndef NULL # define NULL ((FAR void *)0) #endif -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Public Data - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/iob/iob_initialize.c b/net/iob/iob_initialize.c index 647eb0649c9..d63d957219f 100644 --- a/net/iob/iob_initialize.c +++ b/net/iob/iob_initialize.c @@ -53,14 +53,6 @@ #include "iob.h" -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/**************************************************************************** - * Private Types - ****************************************************************************/ - /**************************************************************************** * Private Data ****************************************************************************/ diff --git a/net/iob/iob_pack.c b/net/iob/iob_pack.c index 4765e8e594a..660b31d4a85 100644 --- a/net/iob/iob_pack.c +++ b/net/iob/iob_pack.c @@ -60,18 +60,6 @@ # define MIN(a,b) ((a) < (b) ? (a) : (b)) #endif -/**************************************************************************** - * Private Types - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Public Data - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/iob/iob_test.c b/net/iob/iob_test.c index fe683f9d2d5..0e13fab793c 100644 --- a/net/iob/iob_test.c +++ b/net/iob/iob_test.c @@ -49,24 +49,12 @@ #include "iob.h" -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/**************************************************************************** - * Private Types - ****************************************************************************/ - /**************************************************************************** * Private Data ****************************************************************************/ -uint8_t buffer1[16384]; -uint8_t buffer2[16384]; - -/**************************************************************************** - * Public Data - ****************************************************************************/ +static uint8_t buffer1[16384]; +static uint8_t buffer2[16384]; /**************************************************************************** * Private Functions diff --git a/net/iob/iob_trimhead.c b/net/iob/iob_trimhead.c index ffb1bc8b731..70a5359603f 100644 --- a/net/iob/iob_trimhead.c +++ b/net/iob/iob_trimhead.c @@ -61,18 +61,6 @@ # define NULL ((FAR void *)0) #endif -/**************************************************************************** - * Private Types - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Public Data - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/iob/iob_trimhead_queue.c b/net/iob/iob_trimhead_queue.c index 9315b8d3fe7..24b98783215 100644 --- a/net/iob/iob_trimhead_queue.c +++ b/net/iob/iob_trimhead_queue.c @@ -63,18 +63,6 @@ # define NULL ((FAR void *)0) #endif -/**************************************************************************** - * Private Types - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Public Data - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/iob/iob_trimtail.c b/net/iob/iob_trimtail.c index 63050698607..6965fe3da5f 100644 --- a/net/iob/iob_trimtail.c +++ b/net/iob/iob_trimtail.c @@ -53,22 +53,6 @@ #include "iob.h" -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/**************************************************************************** - * Private Types - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Public Data - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/netdev/netdev.h b/net/netdev/netdev.h index 4289dc561ae..19955d39510 100644 --- a/net/netdev/netdev.h +++ b/net/netdev/netdev.h @@ -47,14 +47,6 @@ #include -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/**************************************************************************** - * Public Type Definitions - ****************************************************************************/ - /**************************************************************************** * Public Data ****************************************************************************/ diff --git a/net/netdev/netdev_carrier.c b/net/netdev/netdev_carrier.c index 397ca4cb883..8c422033282 100644 --- a/net/netdev/netdev_carrier.c +++ b/net/netdev/netdev_carrier.c @@ -54,26 +54,6 @@ #include "netdev/netdev.h" -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/**************************************************************************** - * Private Types - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Public Data - ****************************************************************************/ - -/**************************************************************************** - * Private Functions - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/netdev/netdev_count.c b/net/netdev/netdev_count.c index d036339c546..73ff960f3d8 100644 --- a/net/netdev/netdev_count.c +++ b/net/netdev/netdev_count.c @@ -48,26 +48,6 @@ #include "utils/utils.h" #include "netdev/netdev.h" -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/**************************************************************************** - * Private Types - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Public Data - ****************************************************************************/ - -/**************************************************************************** - * Private Functions - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/netdev/netdev_default.c b/net/netdev/netdev_default.c index addb67dcc70..24884259a7d 100644 --- a/net/netdev/netdev_default.c +++ b/net/netdev/netdev_default.c @@ -45,30 +45,6 @@ #include "utils/utils.h" #include "netdev/netdev.h" -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/**************************************************************************** - * Private Types - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Public Data - ****************************************************************************/ - -/**************************************************************************** - * Private Functions - ****************************************************************************/ - -/**************************************************************************** - * Function: netdev_maskcmp - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/netdev/netdev_foreach.c b/net/netdev/netdev_foreach.c index 8098dfd12ea..99d6a8c061f 100644 --- a/net/netdev/netdev_foreach.c +++ b/net/netdev/netdev_foreach.c @@ -46,26 +46,6 @@ #include "netdev/netdev.h" -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/**************************************************************************** - * Private Types - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Public Data - ****************************************************************************/ - -/**************************************************************************** - * Private Functions - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/netdev/netdev_rxnotify.c b/net/netdev/netdev_rxnotify.c index afef07e545d..187ca6c05ea 100644 --- a/net/netdev/netdev_rxnotify.c +++ b/net/netdev/netdev_rxnotify.c @@ -50,26 +50,6 @@ #include "netdev/netdev.h" -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/**************************************************************************** - * Private Types - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Public Data - ****************************************************************************/ - -/**************************************************************************** - * Private Functions - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/netdev/netdev_txnotify.c b/net/netdev/netdev_txnotify.c index bbf4e9dec38..3d0c85203c9 100644 --- a/net/netdev/netdev_txnotify.c +++ b/net/netdev/netdev_txnotify.c @@ -50,26 +50,6 @@ #include "netdev/netdev.h" -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/**************************************************************************** - * Private Types - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Public Data - ****************************************************************************/ - -/**************************************************************************** - * Private Functions - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/netdev/netdev_unregister.c b/net/netdev/netdev_unregister.c index 9dad59c2226..fc326dcf318 100644 --- a/net/netdev/netdev_unregister.c +++ b/net/netdev/netdev_unregister.c @@ -65,22 +65,6 @@ # define NETDEV_FORMAT "eth%d" #endif -/**************************************************************************** - * Private Types - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Public Data - ****************************************************************************/ - -/**************************************************************************** - * Private Functions - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/pkt/pkt_callback.c b/net/pkt/pkt_callback.c index cc66f6d47a6..5376b4ce224 100644 --- a/net/pkt/pkt_callback.c +++ b/net/pkt/pkt_callback.c @@ -49,14 +49,6 @@ #include "devif/devif.h" #include "pkt/pkt.h" -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Private Functions - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/pkt/pkt_finddev.c b/net/pkt/pkt_finddev.c index 885f6402b29..639c894b3bd 100644 --- a/net/pkt/pkt_finddev.c +++ b/net/pkt/pkt_finddev.c @@ -45,14 +45,6 @@ #include "netdev/netdev.h" #include "pkt/pkt.h" -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Private Functions - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/pkt/pkt_input.c b/net/pkt/pkt_input.c index 60b2ca19aaf..27b3af4d257 100644 --- a/net/pkt/pkt_input.c +++ b/net/pkt/pkt_input.c @@ -60,18 +60,6 @@ #define PKTBUF ((struct eth_hdr_s *)&dev->d_buf) -/**************************************************************************** - * Public Data - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Private Functions - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/pkt/pkt_poll.c b/net/pkt/pkt_poll.c index afb65db24fb..dc4f5a92d04 100644 --- a/net/pkt/pkt_poll.c +++ b/net/pkt/pkt_poll.c @@ -54,22 +54,6 @@ #include "devif/devif.h" #include "pkt/pkt.h" -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/**************************************************************************** - * Public Data - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Private Functions - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/pkt/pkt_send.c b/net/pkt/pkt_send.c index b36e3cb8bb1..1310cb92086 100644 --- a/net/pkt/pkt_send.c +++ b/net/pkt/pkt_send.c @@ -61,10 +61,6 @@ #include "socket/socket.h" #include "pkt/pkt.h" -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - /**************************************************************************** * Private Types ****************************************************************************/ diff --git a/net/socket/accept.c b/net/socket/accept.c index 83cd9602cce..ea1e887bf9a 100644 --- a/net/socket/accept.c +++ b/net/socket/accept.c @@ -54,10 +54,6 @@ #include "local/local.h" #include "socket/socket.h" -/**************************************************************************** - * Private Functions - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/socket/net_close.c b/net/socket/net_close.c index 8d657583bd6..f439811b854 100644 --- a/net/socket/net_close.c +++ b/net/socket/net_close.c @@ -66,10 +66,6 @@ #include "local/local.h" #include "socket/socket.h" -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - /**************************************************************************** * Private Types ****************************************************************************/ diff --git a/net/socket/net_dupsd.c b/net/socket/net_dupsd.c index 9ebe0b30b79..85d9b6f9356 100644 --- a/net/socket/net_dupsd.c +++ b/net/socket/net_dupsd.c @@ -48,10 +48,6 @@ #if defined(CONFIG_NET) && CONFIG_NSOCKET_DESCRIPTORS > 0 -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/socket/net_monitor.c b/net/socket/net_monitor.c index 8c3f24f4a9c..3e6cf0c2ae3 100644 --- a/net/socket/net_monitor.c +++ b/net/socket/net_monitor.c @@ -50,10 +50,6 @@ #include "tcp/tcp.h" #include "socket/socket.h" -/**************************************************************************** - * Private Types - ****************************************************************************/ - /**************************************************************************** * Private Function Prototypes ****************************************************************************/ @@ -66,6 +62,7 @@ static uint16_t connection_event(FAR struct net_driver_s *dev, /**************************************************************************** * Private Functions ****************************************************************************/ + /**************************************************************************** * Name: connection_closed * diff --git a/net/socket/net_vfcntl.c b/net/socket/net_vfcntl.c index 5341328a7b9..d6fd76f20b5 100644 --- a/net/socket/net_vfcntl.c +++ b/net/socket/net_vfcntl.c @@ -52,10 +52,6 @@ #if defined(CONFIG_NET) && CONFIG_NSOCKET_DESCRIPTORS > 0 -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/socket/send.c b/net/socket/send.c index 562152031c0..60b19ab296f 100644 --- a/net/socket/send.c +++ b/net/socket/send.c @@ -49,18 +49,6 @@ #include "local/local.h" #include "socket/socket.h" -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/**************************************************************************** - * Private Types - ****************************************************************************/ - -/**************************************************************************** - * Private Functions - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/tcp/tcp.h b/net/tcp/tcp.h index 2f3284d709b..0b3bd37ce57 100644 --- a/net/tcp/tcp.h +++ b/net/tcp/tcp.h @@ -126,6 +126,7 @@ /**************************************************************************** * Public Type Definitions ****************************************************************************/ + /* Representation of a TCP connection. * * The tcp_conn_s structure is used for identifying a connection. All diff --git a/net/tcp/tcp_accept.c b/net/tcp/tcp_accept.c index 102f8c22133..a37db211db4 100644 --- a/net/tcp/tcp_accept.c +++ b/net/tcp/tcp_accept.c @@ -54,10 +54,6 @@ #include "socket/socket.h" #include "tcp/tcp.h" -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - /**************************************************************************** * Private Types ****************************************************************************/ @@ -72,10 +68,6 @@ struct accept_s int acpt_result; /* The result of the wait */ }; -/**************************************************************************** - * Private Data - ****************************************************************************/ - /**************************************************************************** * Private Functions ****************************************************************************/ diff --git a/net/tcp/tcp_appsend.c b/net/tcp/tcp_appsend.c index dbaeb5c2d3e..a56da75714f 100644 --- a/net/tcp/tcp_appsend.c +++ b/net/tcp/tcp_appsend.c @@ -55,22 +55,6 @@ #include "devif/devif.h" #include "tcp/tcp.h" -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/**************************************************************************** - * Public Data - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Private Functions - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/tcp/tcp_backlog.c b/net/tcp/tcp_backlog.c index bbd5c263533..f4bba6cbebc 100644 --- a/net/tcp/tcp_backlog.c +++ b/net/tcp/tcp_backlog.c @@ -52,14 +52,6 @@ #include "devif/devif.h" #include "tcp/tcp.h" -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Private Functions - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/tcp/tcp_callback.c b/net/tcp/tcp_callback.c index d8bcd9dd227..73c6175fee5 100644 --- a/net/tcp/tcp_callback.c +++ b/net/tcp/tcp_callback.c @@ -53,10 +53,6 @@ #include "iob/iob.h" #include "tcp/tcp.h" -/**************************************************************************** - * Private Data - ****************************************************************************/ - /**************************************************************************** * Private Functions ****************************************************************************/ diff --git a/net/tcp/tcp_devpoll.c b/net/tcp/tcp_devpoll.c index bf7a7ee6812..e4fadc6be66 100644 --- a/net/tcp/tcp_devpoll.c +++ b/net/tcp/tcp_devpoll.c @@ -55,22 +55,6 @@ #include "devif/devif.h" #include "tcp/tcp.h" -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/**************************************************************************** - * Public Data - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Private Functions - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/tcp/tcp_finddev.c b/net/tcp/tcp_finddev.c index 8d7d4682928..ef6ae8f0d25 100644 --- a/net/tcp/tcp_finddev.c +++ b/net/tcp/tcp_finddev.c @@ -49,10 +49,6 @@ #include "netdev/netdev.h" #include "tcp/tcp.h" -/**************************************************************************** - * Private Data - ****************************************************************************/ - /**************************************************************************** * Private Functions ****************************************************************************/ diff --git a/net/tcp/tcp_input.c b/net/tcp/tcp_input.c index 49c8aca1aef..3db34ae3846 100644 --- a/net/tcp/tcp_input.c +++ b/net/tcp/tcp_input.c @@ -60,18 +60,6 @@ #include "utils/utils.h" #include "tcp/tcp.h" -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/**************************************************************************** - * Public Data - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - /**************************************************************************** * Private Functions ****************************************************************************/ diff --git a/net/tcp/tcp_ipselect.c b/net/tcp/tcp_ipselect.c index 6669b3be0c3..a2570c34b00 100644 --- a/net/tcp/tcp_ipselect.c +++ b/net/tcp/tcp_ipselect.c @@ -49,14 +49,6 @@ #include "tcp/tcp.h" -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Private Functions - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/tcp/tcp_send.c b/net/tcp/tcp_send.c index 42fb9a62c8e..14affd53de9 100644 --- a/net/tcp/tcp_send.c +++ b/net/tcp/tcp_send.c @@ -68,14 +68,6 @@ #define TCPIPv4BUF ((struct tcp_hdr_s *)&dev->d_buf[NET_LL_HDRLEN(dev) + IPv4_HDRLEN]) #define TCPIPv6BUF ((struct tcp_hdr_s *)&dev->d_buf[NET_LL_HDRLEN(dev) + IPv6_HDRLEN]) -/**************************************************************************** - * Public Data - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - /**************************************************************************** * Private Functions ****************************************************************************/ diff --git a/net/tcp/tcp_send_buffered.c b/net/tcp/tcp_send_buffered.c index 077a1dbe2e0..3ab9f269d7a 100644 --- a/net/tcp/tcp_send_buffered.c +++ b/net/tcp/tcp_send_buffered.c @@ -101,10 +101,6 @@ # define WRB_DUMP(msg,wrb,len,offset) #endif -/**************************************************************************** - * Private Types - ****************************************************************************/ - /**************************************************************************** * Private Functions ****************************************************************************/ diff --git a/net/tcp/tcp_seqno.c b/net/tcp/tcp_seqno.c index 6eb9141ce5b..d2c5600107a 100644 --- a/net/tcp/tcp_seqno.c +++ b/net/tcp/tcp_seqno.c @@ -55,10 +55,6 @@ #include "devif/devif.h" -/**************************************************************************** - * Public Data - ****************************************************************************/ - /**************************************************************************** * Private Data ****************************************************************************/ @@ -67,10 +63,6 @@ static uint32_t g_tcpsequence; -/**************************************************************************** - * Private Functions - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/tcp/tcp_timer.c b/net/tcp/tcp_timer.c index 48109d63bee..a9681a5c8a1 100644 --- a/net/tcp/tcp_timer.c +++ b/net/tcp/tcp_timer.c @@ -56,22 +56,6 @@ #include "devif/devif.h" #include "tcp/tcp.h" -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/**************************************************************************** - * Public Data - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Private Functions - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/tcp/tcp_wrbuffer.c b/net/tcp/tcp_wrbuffer.c index d50878a4554..cb6c10e9d8d 100644 --- a/net/tcp/tcp_wrbuffer.c +++ b/net/tcp/tcp_wrbuffer.c @@ -88,10 +88,6 @@ struct wrbuffer_s static struct wrbuffer_s g_wrbuffer; -/**************************************************************************** - * Private Functions - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/net/tcp/tcp_wrbuffer_dump.c b/net/tcp/tcp_wrbuffer_dump.c index 741120f6fd7..5458519195d 100644 --- a/net/tcp/tcp_wrbuffer_dump.c +++ b/net/tcp/tcp_wrbuffer_dump.c @@ -48,10 +48,6 @@ #ifdef CONFIG_DEBUG -/**************************************************************************** - * Pre-processor definitions - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/