banning: No need to check if banned pnn is for local node
authorAmitay Isaacs <amitay@gmail.com>
Mon, 24 Jun 2013 04:33:32 +0000 (14:33 +1000)
committerMichael Adam <obnox@samba.org>
Mon, 26 Aug 2013 11:35:52 +0000 (13:35 +0200)
commit38479a245d2b43defef0249de85f3b0c76c7a4f2
treeec0abf344fe08c9f1d43c57347e992800c00084d
parent2f3103af6cfbc7165785b432bff5e4162b547090
banning: No need to check if banned pnn is for local node

If the banned pnn is not the local node, the function returns early.
So no need for additional check.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 297d93cecc3c0655e72ecac38508e113bdbeab9c)
server/ctdb_banning.c