From: Andrew Lunn <andrew.lunn@ascom.ch>
To: "B.A.T.M.A.N" <b.a.t.m.a.n@lists.open-mesh.net>
Subject: [B.A.T.M.A.N.] [batman-adv] Cleanup ring_buffer.[ch]
Date: Sat, 18 Jul 2009 16:54:35 +0200 [thread overview]
Message-ID: <20090718145435.GO4656@ma.tech.ascom.ch> (raw)
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[]);
reply other threads:[~2009-07-18 14:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090718145435.GO4656@ma.tech.ascom.ch \
--to=andrew.lunn@ascom.ch \
--cc=b.a.t.m.a.n@lists.open-mesh.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).