* [B.A.T.M.A.N.] [batman-adv] Cleanup ring_buffer.[ch]
@ 2009-07-18 14:54 Andrew Lunn
0 siblings, 0 replies; only message in thread
From: Andrew Lunn @ 2009-07-18 14:54 UTC (permalink / raw)
To: B.A.T.M.A.N
Make proc.[ch] clean with respect to the 2.6.29 checkpatch
script.
Signed-off-by: Andrew Lunn <andrew.lunn@ascom.ch>
Index: batman-adv-kernelland/ring_buffer.c
===================================================================
--- batman-adv-kernelland/ring_buffer.c (revision 1351)
+++ batman-adv-kernelland/ring_buffer.c (working copy)
@@ -17,15 +17,9 @@
*
*/
-
-
-
-
#include "main.h"
#include "ring_buffer.h"
-
-
void ring_buffer_set(uint8_t lq_recv[], uint8_t *lq_index, uint8_t value)
{
lq_recv[*lq_index] = value;
Index: batman-adv-kernelland/ring_buffer.h
===================================================================
--- batman-adv-kernelland/ring_buffer.h (revision 1351)
+++ batman-adv-kernelland/ring_buffer.h (working copy)
@@ -17,9 +17,5 @@
*
*/
-
-
-
-
-void ring_buffer_set( uint8_t lq_recv[], uint8_t *lq_index, uint8_t value );
-uint8_t ring_buffer_avg( uint8_t lq_recv[] );
+void ring_buffer_set(uint8_t lq_recv[], uint8_t *lq_index, uint8_t value);
+uint8_t ring_buffer_avg(uint8_t lq_recv[]);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-07-18 14:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-18 14:54 [B.A.T.M.A.N.] [batman-adv] Cleanup ring_buffer.[ch] Andrew Lunn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).