Remove relative-line-numbers--do-current-buffer-windows.

It's longer than "dolist (window (get-buffer-window-list nil nil t))"
and doesn't really make any clearer what's going on.