* vc/diff-mode.el (diff-remove-trailing-whitespace): New function.