Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unused declaration #12466

Merged
merged 10 commits into from Dec 16, 2016
1 change: 0 additions & 1 deletion src/mds/snap.h
Expand Up @@ -45,7 +45,6 @@ ostream& operator<<(ostream& out, const SnapInfo &sn);
* SnapRealm - a subtree that shares the same set of snapshots.
*/
struct SnapRealm;
struct CapabilityGroup;
class CInode;
class MDCache;

Expand Down
1 change: 0 additions & 1 deletion src/mon/AuthMonitor.h
Expand Up @@ -26,7 +26,6 @@ using namespace std;

class MMonCommand;
struct MAuth;
class MAuthMon;
struct MMonGlobalID;
class KeyRing;
class Monitor;
Expand Down
3 changes: 0 additions & 3 deletions src/mon/MonClient.h
Expand Up @@ -34,10 +34,8 @@ struct MMonSubscribeAck;
class MMonCommandAck;
class MCommandReply;
struct MAuthReply;
class MAuthRotating;
class MPing;
class LogClient;
class AuthSupported;
class AuthMethodList;
class Messenger;
// class RotatingKeyRing;
Expand Down Expand Up @@ -152,7 +150,6 @@ class MonClient : public Dispatcher {

Cond auth_cond;

void handle_auth_rotating_response(MAuthRotating *m);
// monclient
bool want_monmap;

Expand Down
1 change: 0 additions & 1 deletion src/mon/Monitor.h
Expand Up @@ -103,7 +103,6 @@ class MMonSync;
class MMonScrub;
class MMonProbe;
struct MMonSubscribe;
class MAuthRotating;
struct MRoute;
struct MForward;
struct MTimeCheck;
Expand Down
1 change: 0 additions & 1 deletion src/msg/async/dpdk/TCP-Stack.h
Expand Up @@ -24,7 +24,6 @@
#ifndef CEPH_MSG_DPDK_TCP_STACK_H
#define CEPH_MSG_DPDK_TCP_STACK_H

class socket_options;
class ServerSocket;
class ConnectedSocket;

Expand Down
1 change: 0 additions & 1 deletion src/msg/simple/Pipe.h
Expand Up @@ -24,7 +24,6 @@


class SimpleMessenger;
class IncomingQueue;
class DispatchQueue;

static const int SM_IOV_MAX = (IOV_MAX >= 1024 ? IOV_MAX / 4 : IOV_MAX);
Expand Down
4 changes: 0 additions & 4 deletions src/osd/OSD.h
Expand Up @@ -209,18 +209,14 @@ class ObjectStore;
class FuseStore;
class OSDMap;
class MLog;
class MClass;
class MOSDPGMissing;
class Objecter;

class Watch;
class Notification;
class PrimaryLogPG;

class AuthAuthorizeHandlerRegistry;

class OpsFlightSocketHook;
class HistoricOpsSocketHook;
class TestOpsSocketHook;
struct C_CompleteSplits;
struct C_OpenPGs;
Expand Down
1 change: 0 additions & 1 deletion src/rgw/rgw_lib.h
Expand Up @@ -20,7 +20,6 @@ class OpsLogSocket;

namespace rgw {

class RGWLibFrontendConfig;
class RGWLibFrontend;

class RGWLib {
Expand Down
1 change: 0 additions & 1 deletion src/rgw/rgw_rest_conn.h
Expand Up @@ -12,7 +12,6 @@

class CephContext;
class RGWRados;
class RGWGetObjData;

template <class T>
static int parse_decode_json(CephContext *cct, T& t, bufferlist& bl)
Expand Down