patch-2.4.4 linux/drivers/net/depca.c
Next file: linux/drivers/net/dgrs.c
Previous file: linux/drivers/net/defxx.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Fri Apr 13 20:26:07 2001
- Orig file:
v2.4.3/linux/drivers/net/depca.c
- Orig date:
Tue Mar 6 19:28:35 2001
diff -u --recursive --new-file v2.4.3/linux/drivers/net/depca.c linux/drivers/net/depca.c
@@ -1818,9 +1818,7 @@
ManCode[5]='\0';
for (i=0;(*signatures[i] != '\0') && (*name == '\0');i++) {
- const char * volatile lhs = ManCode;
- const char * volatile rhs = signatures[i]; /* egcs-1.1.2 bug */
- if (strstr(lhs, rhs) != NULL) {
+ if (strstr(ManCode, signatures[i]) != NULL) {
strcpy(name,ManCode);
status = 1;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)