Removes trailing whitespace from graphics cards.