mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-29 17:39:36 +02:00
Remove unnecessary null check
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user