Remove old link code cruft

Some old link code junk that isn't used anymore.