summaryrefslogtreecommitdiffstats
path: root/libebl/ebldwarftoregno.c
diff options
context:
space:
mode:
Diffstat (limited to 'libebl/ebldwarftoregno.c')
-rw-r--r--libebl/ebldwarftoregno.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libebl/ebldwarftoregno.c b/libebl/ebldwarftoregno.c
index 8fb85401..c6644969 100644
--- a/libebl/ebldwarftoregno.c
+++ b/libebl/ebldwarftoregno.c
@@ -35,7 +35,6 @@
bool
ebl_dwarf_to_regno (Ebl *ebl, unsigned *regno)
{
- if (ebl == NULL)
- return false;
+ /* ebl is declared NN */
return ebl->dwarf_to_regno == NULL ? true : ebl->dwarf_to_regno (ebl, regno);
}