Lionel Messi netted for the 17th consecutive league game as Barcelona eased to a 2-0 win at home to Deportivo La Coruna.