[RFC] remove dead code from link_elf.c

From: Oliver Pinter <oliver.pntr_at_gmail.com>
Date: Thu, 15 May 2014 15:36:51 +0200
Hi all!

I found that the SPARSE_MAPPING used only in sys/kern/link_elf.c file,
and no other place in kernel, nor in generated codes in /usr/obj/...

op_at_pandora-d opBSD.git> git grep -i SPARSE_MAPPING
sys/kern/link_elf.c:#ifdef SPARSE_MAPPING
sys/kern/link_elf.c:#ifdef SPARSE_MAPPING
sys/kern/link_elf.c:#ifdef SPARSE_MAPPING
sys/kern/link_elf.c:#ifdef SPARSE_MAPPING
sys/kern/link_elf.c:#ifdef SPARSE_MAPPING
sys/kern/link_elf.c:#ifdef SPARSE_MAPPING
sys/kern/link_elf.c:#ifdef SPARSE_MAPPING

I proposed to remove the old/dead codes. Patch attached. Tested on amd64.

Received on Thu May 15 2014 - 11:36:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:49 UTC