Just do something to target that p and remove it.
With that small snippet I can't tell you exactly, but something like:
would do the trick.
The remove function removes anything in the list, so you just have to get that p in it's list and call remove. Just be careful of removing too much (for example, don't use that exact code because it'll remove every p).