From cf2d794da9026dfe7ba2cd746e767fddaf4666e3 Mon Sep 17 00:00:00 2001
From: Daniel Agar <daniel@agar.ca>
Date: Tue, 9 Jan 2018 00:22:07 -0500
Subject: [PATCH] Subscription remove unused instance class member

---
 src/modules/uORB/Subscription.cpp | 3 +--
 src/modules/uORB/Subscription.hpp | 1 -
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/modules/uORB/Subscription.cpp b/src/modules/uORB/Subscription.cpp
index 82ccfcc9f5..c616d9ccfd 100644
--- a/src/modules/uORB/Subscription.cpp
+++ b/src/modules/uORB/Subscription.cpp
@@ -43,8 +43,7 @@ namespace uORB
 {
 
 SubscriptionBase::SubscriptionBase(const struct orb_metadata *meta, unsigned interval, unsigned instance) :
-	_meta(meta),
-	_instance(instance)
+	_meta(meta)
 {
 	if (instance > 0) {
 		_handle = orb_subscribe_multi(_meta, instance);
diff --git a/src/modules/uORB/Subscription.hpp b/src/modules/uORB/Subscription.hpp
index 35c1763ceb..3c5f58e7c2 100644
--- a/src/modules/uORB/Subscription.hpp
+++ b/src/modules/uORB/Subscription.hpp
@@ -85,7 +85,6 @@ public:
 
 protected:
 	const struct orb_metadata *_meta;
-	unsigned _instance;
 	int _handle;
 };
 
-- 
GitLab