From 0821a57bd2e7518d1c8df2d4403a2dfbb8ee5b6b Mon Sep 17 00:00:00 2001 From: Girjesh Rajoria Date: Fri, 3 Nov 2017 02:42:23 +0530 Subject: Coverity Issue: PW.INCLUDE_RECURSION in several files Coverity ID: 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 423, 424, 425, 426, 427, 428, 429, 436, 437, 438, 439, 440, 441, 442, 443 Issue: Event include_recursion Removed redundant, recursive includes from the files. Change-Id: I920776b1fa089a2d4917ca722d0075a9239911a7 BUG: 789278 Signed-off-by: Girjesh Rajoria --- xlators/mgmt/glusterd/src/glusterd-handler.c | 2 -- xlators/mgmt/glusterd/src/glusterd-hooks.c | 1 - xlators/mgmt/glusterd/src/glusterd-op-sm.h | 1 - xlators/mgmt/glusterd/src/glusterd-pmap.h | 1 - xlators/mgmt/glusterd/src/glusterd-rebalance.c | 1 - xlators/mgmt/glusterd/src/glusterd-sm.h | 1 - xlators/mgmt/glusterd/src/glusterd-snapshot.c | 1 - xlators/mgmt/glusterd/src/glusterd-store.c | 1 - xlators/mgmt/glusterd/src/glusterd-store.h | 1 - xlators/mgmt/glusterd/src/glusterd-utils.c | 1 - xlators/mgmt/glusterd/src/glusterd-utils.h | 1 - xlators/mgmt/glusterd/src/glusterd.h | 1 - 12 files changed, 13 deletions(-) (limited to 'xlators/mgmt/glusterd') diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c index acf9da703f0..eacf818bfc6 100644 --- a/xlators/mgmt/glusterd/src/glusterd-handler.c +++ b/xlators/mgmt/glusterd/src/glusterd-handler.c @@ -9,7 +9,6 @@ */ #include -#include "globals.h" #include "glusterfs.h" #include "compat.h" #include "dict.h" @@ -48,7 +47,6 @@ #include "common-utils.h" -#include "globals.h" #include "glusterd-syncop.h" #include "glusterd-messages.h" diff --git a/xlators/mgmt/glusterd/src/glusterd-hooks.c b/xlators/mgmt/glusterd/src/glusterd-hooks.c index fa88b667c14..b310bc2a109 100644 --- a/xlators/mgmt/glusterd/src/glusterd-hooks.c +++ b/xlators/mgmt/glusterd/src/glusterd-hooks.c @@ -8,7 +8,6 @@ cases as published by the Free Software Foundation. */ -#include "globals.h" #include "glusterfs.h" #include "dict.h" #include "xlator.h" diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.h b/xlators/mgmt/glusterd/src/glusterd-op-sm.h index 48275c57e12..7139a27ffb4 100644 --- a/xlators/mgmt/glusterd/src/glusterd-op-sm.h +++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.h @@ -18,7 +18,6 @@ #include "xlator.h" #include "logging.h" #include "call-stub.h" -#include "fd.h" #include "byte-order.h" #include "glusterd.h" #include "protocol-common.h" diff --git a/xlators/mgmt/glusterd/src/glusterd-pmap.h b/xlators/mgmt/glusterd/src/glusterd-pmap.h index b0fa8aca559..04004c2b2af 100644 --- a/xlators/mgmt/glusterd/src/glusterd-pmap.h +++ b/xlators/mgmt/glusterd/src/glusterd-pmap.h @@ -17,7 +17,6 @@ #include "xlator.h" #include "logging.h" #include "call-stub.h" -#include "fd.h" #include "byte-order.h" #include "rpcsvc.h" diff --git a/xlators/mgmt/glusterd/src/glusterd-rebalance.c b/xlators/mgmt/glusterd/src/glusterd-rebalance.c index bbf624b44c5..02c47be8234 100644 --- a/xlators/mgmt/glusterd/src/glusterd-rebalance.c +++ b/xlators/mgmt/glusterd/src/glusterd-rebalance.c @@ -13,7 +13,6 @@ #include #include -#include "globals.h" #include "compat.h" #include "protocol-common.h" #include "xlator.h" diff --git a/xlators/mgmt/glusterd/src/glusterd-sm.h b/xlators/mgmt/glusterd/src/glusterd-sm.h index 9e4fe33b558..640468830d5 100644 --- a/xlators/mgmt/glusterd/src/glusterd-sm.h +++ b/xlators/mgmt/glusterd/src/glusterd-sm.h @@ -18,7 +18,6 @@ #include "xlator.h" #include "logging.h" #include "call-stub.h" -#include "fd.h" #include "byte-order.h" //#include "glusterd.h" #include "rpcsvc.h" diff --git a/xlators/mgmt/glusterd/src/glusterd-snapshot.c b/xlators/mgmt/glusterd/src/glusterd-snapshot.c index e41f0cd7b75..70692fc0862 100644 --- a/xlators/mgmt/glusterd/src/glusterd-snapshot.c +++ b/xlators/mgmt/glusterd/src/glusterd-snapshot.c @@ -35,7 +35,6 @@ #include -#include "globals.h" #include "compat.h" #include "protocol-common.h" #include "xlator.h" diff --git a/xlators/mgmt/glusterd/src/glusterd-store.c b/xlators/mgmt/glusterd/src/glusterd-store.c index 6747c038773..8ddcc8a9aae 100644 --- a/xlators/mgmt/glusterd/src/glusterd-store.c +++ b/xlators/mgmt/glusterd/src/glusterd-store.c @@ -12,7 +12,6 @@ #include -#include "globals.h" #include "glusterfs.h" #include "compat.h" #include "dict.h" diff --git a/xlators/mgmt/glusterd/src/glusterd-store.h b/xlators/mgmt/glusterd/src/glusterd-store.h index 381676078cb..d809f2c7963 100644 --- a/xlators/mgmt/glusterd/src/glusterd-store.h +++ b/xlators/mgmt/glusterd/src/glusterd-store.h @@ -18,7 +18,6 @@ #include "run.h" #include "logging.h" #include "call-stub.h" -#include "fd.h" #include "byte-order.h" #include "glusterd.h" #include "rpcsvc.h" diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c index f211f199ce6..e6793d9b751 100644 --- a/xlators/mgmt/glusterd/src/glusterd-utils.c +++ b/xlators/mgmt/glusterd/src/glusterd-utils.c @@ -20,7 +20,6 @@ #include #endif -#include "globals.h" #include "glusterfs.h" #include "compat.h" #include "dict.h" diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.h b/xlators/mgmt/glusterd/src/glusterd-utils.h index 33c6fa38b59..e76ee63edf1 100644 --- a/xlators/mgmt/glusterd/src/glusterd-utils.h +++ b/xlators/mgmt/glusterd/src/glusterd-utils.h @@ -17,7 +17,6 @@ #include "xlator.h" #include "logging.h" #include "call-stub.h" -#include "fd.h" #include "byte-order.h" #include "glusterd.h" #include "rpc-clnt.h" diff --git a/xlators/mgmt/glusterd/src/glusterd.h b/xlators/mgmt/glusterd/src/glusterd.h index 2a097b864b2..d56727744cb 100644 --- a/xlators/mgmt/glusterd/src/glusterd.h +++ b/xlators/mgmt/glusterd/src/glusterd.h @@ -22,7 +22,6 @@ #include "xlator.h" #include "logging.h" #include "call-stub.h" -#include "fd.h" #include "byte-order.h" #include "glusterd-mem-types.h" #include "rpcsvc.h" -- cgit