mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-04-11 00:56:18 +00:00
Remove unneeded test, fix issue #376
This commit is contained in:
@@ -242,7 +242,6 @@ connstring_decode(const nfc_connstring connstring, const char *driver_name, cons
|
||||
int res = sscanf(connstring, format, param0, param1, param2);
|
||||
|
||||
if (res < 1 || ((0 != strcmp(param0, driver_name)) &&
|
||||
(bus_name != NULL) &&
|
||||
(0 != strcmp(param0, bus_name)))) {
|
||||
// Driver name does not match.
|
||||
res = 0;
|
||||
|
||||
Reference in New Issue
Block a user