diff --git a/ipc/nfc/Nfc.cpp b/ipc/nfc/Nfc.cpp index 3004c9ea490..3d032021768 100644 --- a/ipc/nfc/Nfc.cpp +++ b/ipc/nfc/Nfc.cpp @@ -28,12 +28,6 @@ using namespace mozilla::ipc; namespace { -static const char NFC_SOCKET_NAME[] = "/dev/socket/nfcd"; - -// Network port to connect to for adb forwarded sockets when doing -// desktop development. -static const uint32_t NFC_TEST_PORT = 6400; - class SendNfcSocketDataTask MOZ_FINAL : public nsRunnable { public: @@ -172,17 +166,13 @@ NfcListenSocket::OnDisconnect() NfcConsumer::NfcConsumer(NfcSocketListener* aListener) : mListener(aListener) - , mShutdown(false) -{ - mAddress = NFC_SOCKET_NAME; -} +{ } void NfcConsumer::Shutdown() { MOZ_ASSERT(NS_IsMainThread()); - mShutdown = true; Close(); } diff --git a/ipc/nfc/Nfc.h b/ipc/nfc/Nfc.h index fbca50adea1..d45de8bb379 100644 --- a/ipc/nfc/Nfc.h +++ b/ipc/nfc/Nfc.h @@ -81,8 +81,6 @@ private: private: NfcSocketListener* mListener; - nsCString mAddress; - bool mShutdown; }; } // namespace ipc