Remove unused code
What does this MR do?
As you can see from the comments on this issue https://gitlab.com/gitlab-org/gitlab-ce/issues/31202 the removed code is not being used.
Does this MR meet the acceptance criteria?
- Tests
-
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
Closes #31202 (closed)