Drop some unused code in jgit