Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 2 Nov 2002 01:44:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 2 Nov 2002 01:44:43 -0500 Received: from nycsmtp3out.rdc-nyc.rr.com ([24.29.99.228]:44188 "EHLO nycsmtp3out.rdc-nyc.rr.com") by vger.kernel.org with ESMTP id ; Sat, 2 Nov 2002 01:44:42 -0500 Date: Sat, 2 Nov 2002 02:43:23 -0500 (EST) From: Frank Davis X-X-Sender: fdavis@localhost.localdomain To: linux-kernel@vger.kernel.org cc: fdavis@si.rr.com Subject: [PATCH] 2.5.45 : net/ipv4/ipconfig.c Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 843 Lines: 32 Hello all, The following patch moves a variable to a place prior to a label (no reinitialization). Please review. Regards, Frank --- linux/net/ipv4/ipconfig.c.old Sat Oct 19 12:08:27 2002 +++ linux/net/ipv4/ipconfig.c Fri Nov 1 22:02:27 2002 @@ -1144,6 +1144,7 @@ DBG(("IP-Config: Entered.\n")); #ifdef IPCONFIG_DYNAMIC + int retries = CONF_OPEN_RETRIES; try_try_again: #endif /* Give hardware a chance to settle */ @@ -1175,8 +1176,6 @@ ic_first_dev->next) { #ifdef IPCONFIG_DYNAMIC - int retries = CONF_OPEN_RETRIES; - if (ic_dynamic() < 0) { ic_close_devs(); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/