gpg: Remove unused args from a function.