From a640c40c6bcf4bad0b78e0ea6ea04f2a5f3f877f Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Fri, 19 Dec 2014 00:14:21 +0100 Subject: Initial implementation of IPEDMA, dummy driver for KAPTURE, start of API changes --- register.c | 1 - 1 file changed, 1 deletion(-) (limited to 'register.c') diff --git a/register.c b/register.c index 9a10d41..7fc689b 100644 --- a/register.c +++ b/register.c @@ -25,7 +25,6 @@ int pcilib_add_registers(pcilib_t *ctx, size_t n, pcilib_register_description_t for (n = 0; registers[n].bits; n++); } - if (ctx->model_info.registers == pcilib_model[ctx->model].registers) { for (n_present = 0; ctx->model_info.registers[n_present].bits; n_present++); for (size = 1024; size < 2 * (n + n_present + 1); size<<=1); -- cgit v1.2.3