Brake pads bad?

Pulled my rear wheels off to check back brakes. On my passenger side rear brake the pad has a crack in the middle. Brakes work fine but I'm wondering if pad should be replaced? thanks

Brake1.jpg

Brake2.jpg