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)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 2 Jul 2013 07:47:01 +0000 (17:47 +1000)
commitdf6d7554ccb6c53bcff9bded85ed4882f335eaee
treeab70dd0ab6cacd74fa48e71338a6738fb42e6fe7
parent1c64d205d92da6b5a9af98190755ebce5e1176f1
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