B.G 4.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.
कामादित्यागोपायमाह - निराशिः इति।
Remedy to the problem of desire and other associated issues is explained in 'nirashi' verse;
यतचित्तात्मा भूत्वा निराशिः इत्यर्थः। आत्मा मनः। परिग्रहत्यागः अनभिमानम्। 'नैव किञ्चित् करोति ' इत्यस्य अभिप्रायम् आह - नाप्नोति किल्बिषम् इति ॥२१॥
'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'.