From: John Crispin Date: Sun, 17 Feb 2013 00:16:15 +0000 (+0100) Subject: MIPS: remove broken conditional inside vpe loader code X-Git-Tag: v3.9-rc1~26^2~1^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=535237cecab2b078114be712c67e89a0db61965f;p=pandora-kernel.git MIPS: remove broken conditional inside vpe loader code The commit [1] breaks builds and results in the following error arch/mips/kernel/vpe.c: In function 'vpe_run': arch/mips/kernel/vpe.c:708:16: error: invalid type argument of '->' (have 'struct list_head') Taking a closer look at the conditional we notice that list_first_entry wont ever return NULL. The easiest fix is to just drop the dead code. [1] commit 3d2d03247632920aa21b42a0b032a4ffd44ce15e MIPS: vpe.c: Fix null pointer dereference in print arguments. Signed-off-by: John Crispin --- Reading git-diff-tree failed