aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
Diffstat (limited to 'bfd')
-rw-r--r--bfd/elfxx-riscv.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/bfd/elfxx-riscv.c b/bfd/elfxx-riscv.c
index 73a99b5..3bd41ff 100644
--- a/bfd/elfxx-riscv.c
+++ b/bfd/elfxx-riscv.c
@@ -2211,9 +2211,6 @@ riscv_update_subset (riscv_parse_subset_t *rps,
{
const char *p = str;
- if (p == NULL)
- return false;
-
do
{
int major_version = RISCV_UNKNOWN_VERSION;