Remove all the unused parameters
To remove all the unused parameters, press &shortcut:ShowIntentionActions; and select Delete all unused parameters.