He could not mean that prayer is unnecessary, for his own life belied that. He could only mean that we need not strive to convince God to care; the Father already cares, more than we can know.
In other words, we don't have to pester God with our requests - He already knows them. We can move on to the priority of getting to know God.