gh-107674: Remove some unnecessary code in instrumentation code (GH-117393)

1 file changed