libceph: remove unused defined macro for port
A message that is not in the archive (sent off-list or not yet received): 20201110132008.GA90192@nstpc
Ilya Dryomov
AppliedQuoted 27 lines · Changcheng
1. monitor's default port is defined by
CEPH_MON_PORT
2.CEPH_PORT_START&CEPH_PORT_LASTare not needed.Signed-off-by Changcheng Liu <[email protected]>include/linux/ceph/msgr.h +0
-10@@ -7,15 +7,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 --
Quoted 2 lines
2.25.1
Applied.
Thanks,
Ilya