From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Tue, 16 Apr 2013 21:08:41 +0800 References: <1365426498-3187-1-git-send-email-ordex@autistici.org> In-Reply-To: <1365426498-3187-1-git-send-email-ordex@autistici.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201304162108.41345.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: use eth_hdr() when possible 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: , To: b.a.t.m.a.n@lists.open-mesh.org On Monday, April 08, 2013 21:08:18 Antonio Quartulli wrote: > Instead of casting the result of skb_mac_header() to > "struct ethhdr *" every time, the eth_hdr inline function > can be use to beautify the code and improve its readability > > Signed-off-by: Antonio Quartulli > --- > bat_iv_ogm.c | 2 +- > bridge_loop_avoidance.c | 8 ++++---- > network-coding.c | 10 +++++----- > routing.c | 12 ++++++------ > send.c | 2 +- > soft-interface.c | 2 +- > 6 files changed, 18 insertions(+), 18 deletions(-) Applied in revision 1015463. Thanks, Marek