From 4aafe03b5a3ca491ff9c75b194ae812f7e4c5224 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 19 Nov 2013 21:18:25 +0100 Subject: remove check for bdid == 0 since it CAN be 0 --- src/libirecovery.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/libirecovery.c b/src/libirecovery.c index be0024f..0c42162 100644 --- a/src/libirecovery.c +++ b/src/libirecovery.c @@ -1585,10 +1585,6 @@ irecv_error_t irecv_devices_get_device_by_client(irecv_client_t client, irecv_de return IRECV_E_UNKNOWN_ERROR; } - if (client->device_info.bdid == 0) { - return IRECV_E_UNKNOWN_ERROR; - } - for (i = 0; irecv_devices[i].hardware_model != NULL; i++) { if (irecv_devices[i].chip_id == client->device_info.cpid && irecv_devices[i].board_id == client->device_info.bdid) { *device = &irecv_devices[i]; -- cgit v1.1-32-gdbae