diff options
Diffstat (limited to 'arch/ppc/syslib/ppc_sys.c')
-rw-r--r-- | arch/ppc/syslib/ppc_sys.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/ppc/syslib/ppc_sys.c b/arch/ppc/syslib/ppc_sys.c index 52ba0c68078d..62ee86e80711 100644 --- a/arch/ppc/syslib/ppc_sys.c +++ b/arch/ppc/syslib/ppc_sys.c | |||
@@ -69,6 +69,9 @@ static int __init find_chip_by_name_and_id(char *name, u32 id) | |||
69 | matched[j++] = i; | 69 | matched[j++] = i; |
70 | i++; | 70 | i++; |
71 | } | 71 | } |
72 | |||
73 | ret = i; | ||
74 | |||
72 | if (j != 0) { | 75 | if (j != 0) { |
73 | for (i = 0; i < j; i++) { | 76 | for (i = 0; i < j; i++) { |
74 | if ((ppc_sys_specs[matched[i]].mask & id) == | 77 | if ((ppc_sys_specs[matched[i]].mask & id) == |