Simplify hppa-tdep.c use of objfile_key
authorTom Tromey <tom@tromey.com>
Sat, 5 Mar 2022 00:14:44 +0000 (17:14 -0700)
committerTom Tromey <tom@tromey.com>
Sun, 6 Mar 2022 17:20:31 +0000 (10:20 -0700)
commitabed5aa88ab304caa3a9e3b812f0dab06d44bdcf
tree330c6ae683fa15c574f67e3f407c7c7d20456bb1
parent5f8ab46bc6918efb678deb5956c033e466afe301
Simplify hppa-tdep.c use of objfile_key

I happened to notice a couple of unnecessary casts in hppa-tdep.c, and
then I saw that the use of objfile_key could be simplified -- removing
some code and using the default deleter rather than noop_deleter.

Tested by rebuilding.  Let me know what you think.
gdb/hppa-tdep.c