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 5b14e7e569..cbef08ddc0 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 1162b87dd8..db29abde24 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 21ad4e1fc0..b543d63e6c 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 9c3a6306ba..749e72a0c7 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 d4a18e7831..c5030c91c5 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 e7b682651c..2cb0a10be6 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 2534bde100..810622e828 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 2c5e6fc6e9..e663d8a2ea 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 cf7ffff0c4..91ded4f42c 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 647eb0649c..d63d957219 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 4765e8e594..660b31d4a8 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 fe683f9d2d..0e13fab793 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 ffb1bc8b73..70a5359603 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 9315b8d3fe..24b9878321 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 6305069860..6965fe3da5 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 4289dc561a..19955d3951 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 397ca4cb88..8c42203328 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 d036339c54..73ff960f3d 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 addb67dcc7..24884259a7 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 8098dfd12e..99d6a8c061 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 afef07e545..187ca6c05e 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 bbf4e9dec3..3d0c85203c 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 9dad59c222..fc326dcf31 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 cc66f6d47a..5376b4ce22 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 885f6402b2..639c894b3b 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 60b2ca19aa..27b3af4d25 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 afb65db24f..dc4f5a92d0 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 b36e3cb8bb..1310cb9208 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 83cd9602cc..ea1e887bf9 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 8d657583bd..f439811b85 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 9ebe0b30b7..85d9b6f935 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 8c3f24f4a9..3e6cf0c2ae 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 5341328a7b..d6fd76f20b 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 562152031c..60b19ab296 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 2f3284d709..0b3bd37ce5 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 102f8c2213..a37db211db 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 dbaeb5c2d3..a56da75714 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 bbd5c26353..f4bba6cbeb 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 d8bcd9dd22..73c6175fee 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 bf7a7ee681..e4fadc6be6 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 8d7d468292..ef6ae8f0d2 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 49c8aca1ae..3db34ae384 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 6669b3be0c..a2570c34b0 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 42fb9a62c8..14affd53de 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 077a1dbe2e..3ab9f269d7 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 6eb9141ce5..d2c5600107 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 48109d63be..a9681a5c8a 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 d50878a455..cb6c10e9d8 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 741120f6fd..5458519195 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 ****************************************************************************/