[EXT] Remove redundant null check (#1436)

This commit is contained in:
jgromes 2025-02-27 18:16:30 +01:00
parent cf776230a4
commit c9690a7955

View file

@ -35,10 +35,8 @@ ExternalRadio& ExternalRadio::operator=(const ExternalRadio& ext) {
} }
ExternalRadio::~ExternalRadio() { ExternalRadio::~ExternalRadio() {
if(this->mod) {
delete this->mod; delete this->mod;
} }
}
Module* ExternalRadio::getMod() { Module* ExternalRadio::getMod() {
return(mod); return(mod);