Revert "Fix division by zero issue when get_cpuinfo returns 0 for number of sockets."

This reverts commit b22268d8160cc68914f7bdf97b814bdf991c2853.
Correct author