refactor: Remove dead code in battery module (#405)

This commit is contained in:
Thomas O'Donnell 2019-09-21 16:41:15 +02:00 committed by Kevin Song
parent 690300239b
commit 08340328dd
1 changed files with 0 additions and 1 deletions

View File

@ -56,7 +56,6 @@ pub fn module<'a>(context: &'a Context) -> Option<Module<'a>> {
log::debug!("Unhandled battery state `{}`", state);
return None;
}
_ => return None,
}
let mut percent_string = Vec::<String>::with_capacity(2);