The bank posted earnings of 41 cents a share on revenue of $21.64 billion.