I Think the second 了 is necessary, it may indicates a kind of perfect tense, like you have done sth. At the same time, I believe it also slightly expressed a causal relationship in this sentence, you lost 3 pounds because of walking. (I'm just a chinese student which is learning English, so it could be not so right. Hope that could help you.)