[TASK] Remove unused variable $field

Resolves: #56011
Releases: 6.2
Change-Id: Ia5773bb02c82828896573c8410988d04aa69de68
Reviewed-on: https://review.typo3.org/27666
Reviewed-by: Markus Klein
Tested-by: Markus Klein