[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4/9] Remove nowhere used device_reset()
From: |
Ladislav Michl |
Subject: |
[PATCH 4/9] Remove nowhere used device_reset() |
Date: |
Sat, 25 Jan 2020 10:45:47 +0100 |
---
common/device.c | 5 -----
include/device.h | 1 -
2 files changed, 6 deletions(-)
diff --git a/common/device.c b/common/device.c
index 9b895708..e82db111 100644
--- a/common/device.c
+++ b/common/device.c
@@ -127,11 +127,6 @@ void device_close(struct gn_statemachine *state)
state->device.device_instance = NULL;
}
-void device_reset(struct gn_statemachine *state)
-{
- return;
-}
-
void device_setdtrrts(int dtr, int rts, struct gn_statemachine *state)
{
switch (state->device.type) {
diff --git a/include/device.h b/include/device.h
index d45f32b7..8e84e074 100644
--- a/include/device.h
+++ b/include/device.h
@@ -26,7 +26,6 @@ int device_open(const char *file, int with_odd_parity, int
with_async,
int with_hw_handshake, gn_connection_type device_type,
struct gn_statemachine *state);
void device_close(struct gn_statemachine *state);
-void device_reset(struct gn_statemachine *state);
void device_setdtrrts(int dtr, int rts, struct gn_statemachine *state);
void device_changespeed(int speed, struct gn_statemachine *state);
--
2.25.0
- [PATCH 0/9] Refactor devices build, Ladislav Michl, 2020/01/25
- [PATCH 1/9] Move device_script into separate file, Ladislav Michl, 2020/01/25
- [PATCH 2/9] Cleanup device includes, Ladislav Michl, 2020/01/25
- [PATCH 3/9] configure.ac: do not mix library and device support checks, Ladislav Michl, 2020/01/25
- [PATCH 4/9] Remove nowhere used device_reset(),
Ladislav Michl <=
- [PATCH 5/9] Remove misleading comments from tcp device, Ladislav Michl, 2020/01/25
- [PATCH 6/9] dku2libusb: move definitions into C file, Ladislav Michl, 2020/01/25
- [PATCH 7/9] dku2libusb: whitespace cleanup, Ladislav Michl, 2020/01/25
- [PATCH 8/9] libfunctions: reimplement gn_lib_is_connectiontype_supported, Ladislav Michl, 2020/01/25
- [PATCH 9/9] Refactor devices build, Ladislav Michl, 2020/01/25
- Re: [PATCH 0/9] Refactor devices build, Pawel Kot, 2020/01/26