From patchwork Sat Jul 18 14:54:35 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Lunn X-Patchwork-Id: 5104 Return-Path: Received: from rubicon.hasler.ascom.ch (rubicon.hasler.ascom.ch [139.79.129.1]) by open-mesh.net (Postfix) with ESMTPS id 687571543C8 for ; Sat, 18 Jul 2009 15:18:53 +0000 (UTC) Received: from eiger.ma.tech.ascom.ch (eiger.ma.tech.ascom.ch [139.79.100.1]) by rubicon.hasler.ascom.ch (8.14.3/8.14.3) with ESMTP id n6IEsaGO025154 for ; Sat, 18 Jul 2009 16:54:36 +0200 (MEST) Received: from [139.79.100.143] (helo=donkey.ma.tech.ascom.ch) by eiger.ma.tech.ascom.ch with esmtp (Exim 3.16 #1) id 1MSBJ3-0003yl-00 for b.a.t.m.a.n@lists.open-mesh.net; Sat, 18 Jul 2009 16:54:33 +0200 Received: from lunn by donkey.ma.tech.ascom.ch with local (Exim 4.69) (envelope-from ) id 1MSBJ5-0003kL-5C for b.a.t.m.a.n@lists.open-mesh.net; Sat, 18 Jul 2009 16:54:35 +0200 Date: Sat, 18 Jul 2009 16:54:35 +0200 From: Andrew Lunn To: "B.A.T.M.A.N" Message-ID: <20090718145435.GO4656@ma.tech.ascom.ch> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Subject: [B.A.T.M.A.N.] [batman-adv] Cleanup ring_buffer.[ch] X-BeenThere: b.a.t.m.a.n@lists.open-mesh.net X-Mailman-Version: 2.1.11 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jul 2009 15:18:54 -0000 Make proc.[ch] clean with respect to the 2.6.29 checkpatch script. Signed-off-by: Andrew Lunn 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[]);