Are Across the Board Raises Unfair?

Dear Glenn,
Is it fair to give across the board raises to all employees even though some put in more effort than others? I heard the reasoning is so that no one will get jealous of another making more. Should they really be comparing salaries anyway? By the way, your book was awesome! I have attended one of your seminars and am a fan for life.
Zoe in Madison, WI