Removed useless error check
Little doc fix