removed calculation with unused variable

This commit is contained in:
dqnk 2021-04-02 09:47:48 +02:00 committed by GitHub
parent 8d3614674d
commit 38030b0080
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -233,7 +233,6 @@ void get_info() { // get all necessary info
if (ram_total > 0 && ram_free > 0) { if (ram_total > 0 && ram_free > 0) {
// data is in bytes // data is in bytes
ram_total /= 1024; ram_total /= 1024;
ram_free /= 1024;
ram_used /= 1024; ram_used /= 1024;
break; break;
} }