No, the wall was put up to keep out the scots. They were considered the ultimate barbarians, and were unconquerable. After all, you don't go building a huge wall across an entire country, just to regulate trade, do you?