Remove useless test.

This commit is contained in:
Hisham Muhammad 2014-04-24 12:16:21 -03:00
parent 34b89a9747
commit 2fdebf6a29
1 changed files with 1 additions and 2 deletions

View File

@ -217,8 +217,7 @@ static double getProcBatData() {
if (totalRemain == 0) if (totalRemain == 0)
return 0; return 0;
double percent = totalFull > 0 ? ((double) totalRemain * 100) / (double) totalFull : 0; return totalRemain * 100.0 / (double) totalFull;
return percent;
} }
static double getSysBatData() { static double getSysBatData() {