[quant][pt2e][refactor] Remove extra arguments of `_maybe_insert_output_observer_for_node` (#97959)
Summary:
The goal is for this function to be reused by the pt2e flow
Test Plan:
python test/test_quantization.py TestQuantizeFx
Reviewers:
Subscribers:
Tasks:
Tags:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/97959
Approved by: https://github.com/andrewor14