[Nut-upsdev] [RFC apcsmart V3 06/18] drivers/apcsmart.c: remove status_commit() from update_status()
Michal Soltys
soltys at ziu.info
Sat Mar 5 10:38:23 UTC 2011
Preceding call to ups_status_set() already handles it.
Signed-off-by: Michal Soltys <soltys at ziu.info>
---
drivers/apcsmart.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/apcsmart.c b/drivers/apcsmart.c
index f0f1878..917d261 100644
--- a/drivers/apcsmart.c
+++ b/drivers/apcsmart.c
@@ -441,7 +441,6 @@ static int update_status(void)
ups_status = strtol(buf, 0, 16) & 0xff;
ups_status_set();
- status_commit();
dstate_dataok();
return 1;
--
1.7.2.1
More information about the Nut-upsdev
mailing list