location views: remove unused code