diff mbox

[batman-adv] Cleanup ring_buffer.[ch]

Message ID 20090718145435.GO4656@ma.tech.ascom.ch
State Accepted, archived
Commit 1986dfc09dff22e4acedcad3020ecf3b43bbee1b
Headers show

Commit Message

Andrew Lunn July 18, 2009, 2:54 p.m. UTC
Make proc.[ch] clean with respect to the 2.6.29 checkpatch
script.

Signed-off-by: Andrew Lunn <andrew.lunn@ascom.ch>
diff mbox

Patch

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[]);