Remove or prepend underscore _ to unused method arguments
Created by: cirosantilli
- remove
up_dir_path tree
which can be removed - add underscore Devise callbacks to silence Hound in those cases where it cannot be omitted as mentioned at: https://github.com/gitlabhq/gitlabhq/pull/7858#discussion-diff-18063612