summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rgw/rgw_common.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/rgw/rgw_common.cc b/src/rgw/rgw_common.cc
index 6402a46ce71..6af2ca3cba2 100644
--- a/src/rgw/rgw_common.cc
+++ b/src/rgw/rgw_common.cc
@@ -151,14 +151,6 @@ static bool check_gmt_end(const char *s)
return false;
}
- /* trailing space */
- s += 3;
- while (isspace(*s)) {
- ++s;
- }
- if (*s)
- return false;
-
return true;
}