[batman-adv] Cleanup ring_buffer.[ch]
Commit Message
Make proc.[ch] clean with respect to the 2.6.29 checkpatch
script.
Signed-off-by: Andrew Lunn <andrew.lunn@ascom.ch>
===================================================================
@@ -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;
===================================================================
@@ -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[]);