diff --git a/src/modules/uORB/Subscription.cpp b/src/modules/uORB/Subscription.cpp index 82ccfcc9f534ededc7447cd158e9a4550283c716..c616d9ccfd57d699e10296e79c52efac159ee8ee 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 35c1763ceb4ed37a076b947e121ca2065a4e192b..3c5f58e7c27caed0ec0b7d5cfe7011554a18820b 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; };