From: Uwe Hermann Date: Fri, 2 Nov 2012 17:05:18 +0000 (+0100) Subject: genericdmm: Drop some dead code. X-Git-Tag: dsupstream~597 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=441b80035e0f64e4149ae9d85f2d96fee6cde5bd;p=libsigrok.git genericdmm: Drop some dead code. --- diff --git a/hardware/genericdmm/Makefile.am b/hardware/genericdmm/Makefile.am index b43cd984..2c86a534 100644 --- a/hardware/genericdmm/Makefile.am +++ b/hardware/genericdmm/Makefile.am @@ -24,7 +24,6 @@ noinst_LTLIBRARIES = libsigrokhwgenericdmm.la libsigrokhwgenericdmm_la_SOURCES = \ api.c \ - fs9922.c \ victor-70c.c \ genericdmm.h diff --git a/hardware/genericdmm/api.c b/hardware/genericdmm/api.c index 5b12b2e4..e5525ca2 100644 --- a/hardware/genericdmm/api.c +++ b/hardware/genericdmm/api.c @@ -38,7 +38,6 @@ static struct dev_profile dev_profiles[] = { { "victor-70c", "Victor", "70C", &dmmchip_victor70c, DMM_TRANSPORT_USBHID, 1000, victor_70c_vidpid }, - { "mastech-va18b", "Mastech", "VA18B", NULL, DMM_TRANSPORT_SERIAL, 0, NULL}, { NULL, NULL, NULL, NULL, 0, 0, NULL } }; diff --git a/hardware/genericdmm/fs9922.c b/hardware/genericdmm/fs9922.c deleted file mode 100644 index 7e111801..00000000 --- a/hardware/genericdmm/fs9922.c +++ /dev/null @@ -1,40 +0,0 @@ -/* - * This file is part of the sigrok project. - * - * Copyright (C) 2012 Bert Vermeulen - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include "libsigrok.h" -#include "libsigrok-internal.h" -#include "genericdmm.h" - - -static int fs9922_data(struct sr_dev_inst *sdi) -{ - struct sr_datafeed_packet packet; - struct sr_datafeed_analog analog; - - packet.type = SR_DF_ANALOG; - packet.payload = &analog; - - return SR_OK; -} - - -SR_PRIV struct dmmchip dmmchip_fs9922 = { - .data = fs9922_data, -}; -