From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Ceuleers Subject: [PATCH net-next 0/5] gianfar: coding style cleanups Date: Mon, 4 Jun 2012 18:31:51 +0200 Message-ID: <1338827516-18425-1-git-send-email-jan.ceuleers@computer.org> Cc: Jiajun Wu , Joe Perches , netdev@vger.kernel.org To: "David S. Miller" Return-path: Received: from mailrelay008.isp.belgacom.be ([195.238.6.174]:28075 "EHLO mailrelay008.isp.belgacom.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760929Ab2FDQcS (ORCPT ); Mon, 4 Jun 2012 12:32:18 -0400 Sender: netdev-owner@vger.kernel.org List-ID: Various coding style cleanups, mostly whitespace and comment reformatting. I have left a number of lines untouched where I felt that the changes I was considering were not improving readability. But de gustibus etc. Patch 4/5 also removes some superfluous local variable initialisations. These are obviously correct because the variable is initialised again right after. But you might consider this to be unnecessary code churn because the compiler is unlikely to generate better code due to this patch. WARNING: ENTIRELY UNTESTED. Not even compile-tested. Sorry but I haven't figured out how to cross-compile (I tried). This is my first patch _series_ submission; please be kind. Jan Ceuleers (5): gianfar: whitespace cleanup - pointers gianfar: comment cleanup gianfar: various coding style and whitespace cleanups gianfar: Remove superfluous initialisations gianfar_ethtool: coding style and whitespace cleanups drivers/net/ethernet/freescale/gianfar.c | 491 +++++++++++----------- drivers/net/ethernet/freescale/gianfar_ethtool.c | 420 +++++++++--------- 2 files changed, 479 insertions(+), 432 deletions(-) -- 1.7.9.5