Remove unnecessary null check

This commit is contained in:
Niklas Ekström 2022-07-22 10:14:53 +02:00
parent f69ce8a465
commit bb6d286736
1 changed files with 0 additions and 2 deletions

View File

@ -136,8 +136,6 @@ void Jtag::init_internal(cable_t &cable, const string &dev, const string &serial
#endif
#ifdef ENABLE_LIBGPIOD
case MODE_LIBGPIOD_BITBANG:
if (pin_conf == NULL)
throw std::exception();
_jtag = new LibgpiodJtagBitbang(pin_conf, dev, clkHZ, _verbose);
break;
#endif