| To: | Netdev <netdev@xxxxxxxxxxx>, Jeff Garzik <jgarzik@xxxxxxxxx> |
|---|---|
| Subject: | mv643xx(12/20): reorder code to avoid prototype function declarations |
| From: | "Dale Farnsworth" <dale@xxxxxxxxxxxxxx> |
| Date: | Mon, 28 Mar 2005 16:55:03 -0700 |
| Cc: | Ralf Baechle <ralf@xxxxxxxxxxxxxx>, Manish Lachwani <mlachwani@xxxxxxxxxx>, Brian Waite <brian@xxxxxxxxxxxxxx>, "Steven J. Hill" <sjhill@xxxxxxxxxxxxxxxxxx>, Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>, James Chapman <jchapman@xxxxxxxxxxx> |
| In-reply-to: | <20050328233807.GA28423@xyzzy> |
| References: | <20050328233807.GA28423@xyzzy> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6+20040907i |
This patch reorders functions to avoid the need for function prototypes. In practice, low-level routines are moved to the top of the file and driver API functions to the bottom. This is how most Linux drivers are laid out. There are no functional changes here. Signed-off-by: James Chapman <jchapman@xxxxxxxxxxx> Acked-by: Dale Farnsworth <dale@xxxxxxxxxxxxxx> [I have omitted the patch because it's twice the size of the original file, drivers/net/mv643xx_eth.c, and not useful for analyzing changes since so many functions were moved. Again, the code is unchanged other than changing the order of the functions in the source file.] |
| Previous by Date: | Re: [RFC] TCP congestion schedulers, Stephen Hemminger |
|---|---|
| Next by Date: | mv643xx(13/20): remove useless function header block comments, Dale Farnsworth |
| Previous by Thread: | mv643xx(11/20): rename all functions to have a common mv643xx_eth prefix, Dale Farnsworth |
| Next by Thread: | mv643xx(13/20): remove useless function header block comments, Dale Farnsworth |
| Indexes: | [Date] [Thread] [Top] [All Lists] |