B.G 4.21
nirāśīryatacittātmā tyaktasarvaparigrahaḥ। śārīraṁ kevalaṁ karma kurvannāpnoti kilbiṣam ॥21॥
When a person engages the body to perform right deeds, having the mind without expectations, leaving all the ego, then he alone does not get affected by the consequences of deeds.
Gīta Bhāshya 4.21
Remedy to the problem of desire and other associated issues is given. 'yatacittātmā' - having mind without expectations. 'tyakta sarva parigrahaḥ' - leaving all ego. 'naiva kiñcit karoti' from the previous verse is further elaborated by stating 'nāpnoti kilbiṣam', i.e. the person in the stated purified mindset does not get bound by the consequences of karma.
kāmādityāgopāyamāha - nirāśiḥ iti।
Remedy to the problem of desire and other associated issues is explained in 'nirashi' verse;
yatacittātmā bhūtvā nirāśiḥ ityarthaḥ। ātmā manaḥ। parigrahatyāgaḥ anabhimānam। 'naiva kiñcit karoti ' ityasya abhiprāyam āha - nāpnoti kilbiṣam iti ॥21॥
'yatacittātmā' means becoming without expectation. 'ātmā' in this context refers to the mind. 'parigrahatyāgaḥ', i.e. relinquishing the clinging, means without ego. The intended meaning of 'naiva kiñcit karoti' from the previous verse is elaborated further by stating 'nāpnoti kilbiṣam', i.e. 'he does not obtain the consequences of committing an offense'.