From c8ea7d814bd5f83f40afb09bb00d66768a64b8d4 Mon Sep 17 00:00:00 2001 From: Yao Zongyou Date: Fri, 8 Dec 2017 11:43:59 +0800 Subject: [PATCH] rgw: remove already included header files Signed-off-by: Yao Zongyou --- src/rgw/librgw.cc | 2 -- src/rgw/rgw_auth_keystone.cc | 1 - src/rgw/rgw_lc.h | 1 - src/rgw/rgw_lib_frontend.h | 2 -- src/rgw/rgw_op.cc | 2 -- src/rgw/rgw_op.h | 1 - src/rgw/rgw_rest_s3.h | 1 - 7 files changed, 10 deletions(-) diff --git a/src/rgw/librgw.cc b/src/rgw/librgw.cc index f114a589bbf..c2b430c4ab1 100644 --- a/src/rgw/librgw.cc +++ b/src/rgw/librgw.cc @@ -50,10 +50,8 @@ #include "rgw_lib_frontend.h" #include -#include #include #include -#include #include diff --git a/src/rgw/rgw_auth_keystone.cc b/src/rgw/rgw_auth_keystone.cc index 607a611f778..1421f89983c 100644 --- a/src/rgw/rgw_auth_keystone.cc +++ b/src/rgw/rgw_auth_keystone.cc @@ -17,7 +17,6 @@ #include "rgw_common.h" #include "rgw_keystone.h" #include "rgw_auth_keystone.h" -#include "rgw_keystone.h" #include "rgw_rest_s3.h" #include "rgw_auth_s3.h" diff --git a/src/rgw/rgw_lc.h b/src/rgw/rgw_lc.h index 2cbd070a053..df79a9cc944 100644 --- a/src/rgw/rgw_lc.h +++ b/src/rgw/rgw_lc.h @@ -4,7 +4,6 @@ #include #include #include -#include #include "common/debug.h" diff --git a/src/rgw/rgw_lib_frontend.h b/src/rgw/rgw_lib_frontend.h index 0300faaefb9..7b1b929005c 100644 --- a/src/rgw/rgw_lib_frontend.h +++ b/src/rgw/rgw_lib_frontend.h @@ -6,8 +6,6 @@ #include -#include - #include "rgw_lib.h" #include "rgw_file.h" diff --git a/src/rgw/rgw_op.cc b/src/rgw/rgw_op.cc index fc305a431a2..360813bd862 100644 --- a/src/rgw/rgw_op.cc +++ b/src/rgw/rgw_op.cc @@ -50,8 +50,6 @@ #include "compressor/Compressor.h" -#include "rgw_acl_swift.h" - #define dout_context g_ceph_context #define dout_subsys ceph_subsys_rgw diff --git a/src/rgw/rgw_op.h b/src/rgw/rgw_op.h index 22fe2e7ffdb..8e0c74f7c9e 100644 --- a/src/rgw/rgw_op.h +++ b/src/rgw/rgw_op.h @@ -28,7 +28,6 @@ #include "common/mime.h" #include "common/utf8.h" #include "common/ceph_json.h" -#include "common/utf8.h" #include "common/ceph_time.h" #include "rgw_common.h" diff --git a/src/rgw/rgw_rest_s3.h b/src/rgw/rgw_rest_s3.h index d0aa098fa1b..176874fb463 100644 --- a/src/rgw/rgw_rest_s3.h +++ b/src/rgw/rgw_rest_s3.h @@ -22,7 +22,6 @@ #include "rgw_keystone.h" #include "rgw_rest_conn.h" #include "rgw_ldap.h" -#include "rgw_rest.h" #include "rgw_token.h" #include "include/assert.h" -- 2.39.5