I doubt that the reciever of the charitable donation questions the motive of the giver. They, likely, appreciate the act Itself. So what if one gives to get rid of what they can no longer use ......the definition of "charity" is giving to help others.
We donate to charities in the hope that it benefits others. And, yes, it is often items no longer of use to the giver.
Sandy