RISC-V: Removed the redundant NULL pointer check in the riscv_update_subset.
authorNelson Chu <nelson.chu@sifive.com>
Mon, 22 Nov 2021 11:34:45 +0000 (19:34 +0800)
committerNelson Chu <nelson.chu@sifive.com>
Mon, 22 Nov 2021 11:40:42 +0000 (19:40 +0800)
commita58577878b19cb2e6ebbfdbff557203c344955b1
tree2c4ac80988970e3d2a85aff3b0cbafb7727bc934
parente7e599a156fe24631f313e95818dfc79fb3112d7
RISC-V: Removed the redundant NULL pointer check in the riscv_update_subset.

If we always use the .option arch to call the riscv_update_subset, then
it is almost impossible that the input string will be NULL.  Therefore,
just remove the redundant NULL pointer check in the riscv_update_subset.

bfd/
* elfxx-riscv.c (riscv_update_subset): Removed the redundant NULL
pointer check.
bfd/elfxx-riscv.c