[PATCH] 2.5.45 : net/ipv4/ipconfig.c

From: Frank Davis (fdavis@si.rr.com)
Date: Sat Nov 02 2002 - 02:43:23 EST


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/



This archive was generated by hypermail 2b29 : Thu Nov 07 2002 - 22:00:23 EST