summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/sysfs.c
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-02-17 01:16:15 +0100
committerJohn Crispin <blogic@openwrt.org>2013-02-19 09:36:40 +0100
commit535237cecab2b078114be712c67e89a0db61965f (patch)
tree04c027bf686228b3c3544fe3fb3cbc0041f298fa /net/batman-adv/sysfs.c
parentMIPS: SMTC: fix implicit declaration of set_vi_handler (diff)
downloadlinux-535237cecab2b078114be712c67e89a0db61965f.tar.xz
linux-535237cecab2b078114be712c67e89a0db61965f.zip
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 <blogic@openwrt.org>
Diffstat (limited to 'net/batman-adv/sysfs.c')
0 files changed, 0 insertions, 0 deletions