Remove unused variable in vnf_phy_nr.

master
faluco 4 years ago committed by faluco
parent b014233662
commit a7bb3ce7d0

@ -28,7 +28,7 @@ namespace srsue {
class vnf_phy_nr : public srsue::ue_phy_base, public srsue::phy_interface_stack_nr class vnf_phy_nr : public srsue::ue_phy_base, public srsue::phy_interface_stack_nr
{ {
public: public:
vnf_phy_nr(srslte::logger* logger_); vnf_phy_nr() = default;
~vnf_phy_nr(); ~vnf_phy_nr();
int init(const srsue::phy_args_t& args, srsue::stack_interface_phy_nr* stack_); int init(const srsue::phy_args_t& args, srsue::stack_interface_phy_nr* stack_);
@ -50,8 +50,6 @@ public:
int tx_request(const tx_request_t& request); int tx_request(const tx_request_t& request);
private: private:
srslte::logger* logger = nullptr;
std::unique_ptr<srslte::srslte_basic_vnf> vnf; std::unique_ptr<srslte::srslte_basic_vnf> vnf;
srsue::stack_interface_phy_nr* stack = nullptr; srsue::stack_interface_phy_nr* stack = nullptr;

@ -28,8 +28,6 @@ using namespace std;
namespace srsue { namespace srsue {
vnf_phy_nr::vnf_phy_nr(srslte::logger* logger_) : logger(logger_) {}
vnf_phy_nr::~vnf_phy_nr() vnf_phy_nr::~vnf_phy_nr()
{ {
stop(); stop();

@ -117,7 +117,7 @@ int ue::init(const all_args_t& args_, srslte::logger* logger_)
#ifdef HAVE_5GNR #ifdef HAVE_5GNR
std::unique_ptr<srsue::ue_stack_nr> nr_stack(new srsue::ue_stack_nr(old_logger)); std::unique_ptr<srsue::ue_stack_nr> nr_stack(new srsue::ue_stack_nr(old_logger));
std::unique_ptr<srslte::radio_null> nr_radio(new srslte::radio_null(old_logger)); std::unique_ptr<srslte::radio_null> nr_radio(new srslte::radio_null(old_logger));
std::unique_ptr<srsue::vnf_phy_nr> nr_phy(new srsue::vnf_phy_nr(old_logger)); std::unique_ptr<srsue::vnf_phy_nr> nr_phy(new srsue::vnf_phy_nr);
std::unique_ptr<gw> gw_ptr(new gw()); std::unique_ptr<gw> gw_ptr(new gw());
// Init layers // Init layers

Loading…
Cancel
Save