diff options
author | Nico Huber <nico.h@gmx.de> | 2020-04-06 23:02:12 +0200 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2020-04-10 00:10:58 +0000 |
commit | db2c8dfecb5086ceb78c59f2108d51ca3129d9c1 (patch) | |
tree | 1c060641630d5d88032c3a5140f366d6318d71f3 /src/device/Makefile.inc | |
parent | 17419ff948ad73cbb8d5c98b488eabb18c9ccb1b (diff) |
assert.h: Simplify dead_code()
It turns out the linker's error message already includes the line
number of the dead_code() invocation. If we don't include the line
number in the identifier for our undefined reference, we don't need
individual identifiers at all and can work with a single, global
declaration.
Change-Id: Ib63868ce3114c3f839867a3bfb1b03bdb6facf16
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40240
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/device/Makefile.inc')
0 files changed, 0 insertions, 0 deletions