The correct answer is: B. To waste one's efforts.
To flog a dead horse is an idiom that means to waste time and energy on something that is pointless or hopeless. It is often used to describe someone who is trying to convince someone to do something that they are not interested in, or who is trying to change something that is not going to change.
The other options are incorrect because:
- A. To act in a foolish way is not the meaning of the idiom "to flog a dead horse."
- C. To revise interest in an old subject is not the meaning of the idiom "to flog a dead horse."
- D. To revive old memories is not the meaning of the idiom "to flog a dead horse."