summaryrefslogtreecommitdiff
path: root/include/linux/ceph
diff options
context:
space:
mode:
authorLiu, Changcheng <changcheng.liu@aliyun.com>2020-11-10 16:20:08 +0300
committerIlya Dryomov <idryomov@gmail.com>2020-12-15 01:21:47 +0300
commit36c9478d6069994848c8897755b4380aa0a29dd3 (patch)
treef74659458ce7db3fda69963ccc94783463b70c36 /include/linux/ceph
parent04fabb1199d1f995d6b9a1c42c046ac4bdac2d19 (diff)
downloadlinux-36c9478d6069994848c8897755b4380aa0a29dd3.tar.xz
libceph: remove unused port macros
1. monitor's default port is defined by CEPH_MON_PORT 2. CEPH_PORT_START and CEPH_PORT_LAST are not needed. Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com> Reviewed-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'include/linux/ceph')
-rw-r--r--include/linux/ceph/msgr.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/ceph/msgr.h b/include/linux/ceph/msgr.h
index 9e50aede46c8..46939485f2c3 100644
--- a/include/linux/ceph/msgr.h
+++ b/include/linux/ceph/msgr.h
@@ -9,15 +9,6 @@
#define CEPH_MON_PORT 6789 /* default monitor port */
/*
- * client-side processes will try to bind to ports in this
- * range, simply for the benefit of tools like nmap or wireshark
- * that would like to identify the protocol.
- */
-#define CEPH_PORT_FIRST 6789
-#define CEPH_PORT_START 6800 /* non-monitors start here */
-#define CEPH_PORT_LAST 6900
-
-/*
* tcp connection banner. include a protocol version. and adjust
* whenever the wire protocol changes. try to keep this string length
* constant.