That is different, such laws are unenforceable because they have been ruled to be so by a court. The problem is with laws that are unenforced, but are still enforcable. If the situation of having unenforced laws becomes normalized, then legislatures will indeed not "waste time" removing them, and such laws will be only unenforced until some official decides they don't like you.