Trimetazidine counteracts the hepatic injury associated with ischemia-reperfusion by preserving mitochondrial function.