'Interesting' irix_elf_check_arch

From: Hannes Reinecke (civhr@civ.hw.ac.uk)
Date: Fri Jul 14 2000 - 04:58:55 EST


Hmm.

On a (habitual) scanning of patch-2.4.0-test4 I came across this:
(in #define irix_elf_check_arch)
+
\
+ if ((__h->e_machine != EM_MIPS) && (__h->e_machine != EM_MIPS))
\
+ __res = -ENOEXEC;
\
+
\

No, I might be a bit daft, but where is the point in that line ?
Surely _one_ test for the same condition is enough ?
Or should have someone forgotten something ?

Bewildered,

Hannes

-- 
Hannes Reinecke                                 <civhr@civ.hw.ac.uk>
Fluid Loading and Instrumentation Center  Tel: (+44) 131 449 5111 x4456
Dept. of Civil & Offshore Engineering           Fax: (+44) 131 451 3154
Heriot Watt University, Edinburgh EH14 4AS

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:19 EST