[graphspell] remove useless code