The point of such a thing is to deter similar conduct in the future.
The fact that this isn't a crime, and that qualified immunity typically means they can't even be held responsible civily, is part of what encourages police to commit misconduct like this.
The only folks punished here were the local taxpayers footing the bill.