diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-11-23 21:50:34 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:04:05 -0500 |
commit | cba0516ddb9153afdc0ffffb9124f5f12a3b6ae5 (patch) | |
tree | 6231980599bf9e5ad42c149c242f21b61d95b59b /drivers/net/tulip/de4x5.c | |
parent | 93a3b607e6eff7880959149a581d90c71887eb19 (diff) |
[netdrvr] checkpatch cleanups
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/tulip/de4x5.c')
-rw-r--r-- | drivers/net/tulip/de4x5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tulip/de4x5.c b/drivers/net/tulip/de4x5.c index 2738a591c2ec..6c6fc325c8f9 100644 --- a/drivers/net/tulip/de4x5.c +++ b/drivers/net/tulip/de4x5.c | |||
@@ -4168,7 +4168,7 @@ de4x5_bad_srom(struct de4x5_private *lp) | |||
4168 | { | 4168 | { |
4169 | int i, status = 0; | 4169 | int i, status = 0; |
4170 | 4170 | ||
4171 | for (i=0; i < ARRAY_SIZE(enet_det); i++) { | 4171 | for (i = 0; i < ARRAY_SIZE(enet_det); i++) { |
4172 | if (!de4x5_strncmp((char *)&lp->srom, (char *)&enet_det[i], 3) && | 4172 | if (!de4x5_strncmp((char *)&lp->srom, (char *)&enet_det[i], 3) && |
4173 | !de4x5_strncmp((char *)&lp->srom+0x10, (char *)&enet_det[i], 3)) { | 4173 | !de4x5_strncmp((char *)&lp->srom+0x10, (char *)&enet_det[i], 3)) { |
4174 | if (i == 0) { | 4174 | if (i == 0) { |
@@ -4188,7 +4188,7 @@ de4x5_strncmp(char *a, char *b, int n) | |||
4188 | { | 4188 | { |
4189 | int ret=0; | 4189 | int ret=0; |
4190 | 4190 | ||
4191 | for (;n && !ret;n--) { | 4191 | for (;n && !ret; n--) { |
4192 | ret = *a++ - *b++; | 4192 | ret = *a++ - *b++; |
4193 | } | 4193 | } |
4194 | 4194 | ||