[U-Boot] [PATCH v2 15/18] net: Remove unused parameter from NetInitLoop()
Simon Glass
sjg at chromium.org
Thu Apr 12 06:34:48 CEST 2012
On Tue, Mar 27, 2012 at 4:43 PM, Joe Hershberger <joe.hershberger at ni.com> wrote:
> Signed-off-by: Joe Hershberger <joe.hershberger at ni.com>
> Cc: Joe Hershberger <joe.hershberger at gmail.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Mike Frysinger <vapier at gentoo.org>
Acked-by: Simon Glass <sjg at chromium.org>
But it is still nice to have a commit message, even if brief.
> ---
> Changes for v2:
> - Split from "Fix net buffer initialization"
>
> net/net.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/net/net.c b/net/net.c
> index 0a35858..2cfb115 100644
> --- a/net/net.c
> +++ b/net/net.c
> @@ -231,7 +231,7 @@ void net_auto_load(void)
> TftpStart(TFTPGET);
> }
>
> -static void NetInitLoop(enum proto_t protocol)
> +static void NetInitLoop(void)
> {
> static int env_changed_id;
> bd_t *bd = gd->bd;
> @@ -313,7 +313,7 @@ restart:
> * here on, this code is a state machine driven by received
> * packets and timer events.
> */
> - NetInitLoop(protocol);
> + NetInitLoop();
>
> switch (net_check_prereq(protocol)) {
> case 1:
> --
> 1.6.0.2
>
More information about the U-Boot
mailing list