projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b722540
)
telit: Remove unneeded if
author
Denis Kenzior
<denkenz@gmail.com>
Thu, 29 Sep 2011 15:02:33 +0000
(10:02 -0500)
committer
Denis Kenzior
<denkenz@gmail.com>
Thu, 29 Sep 2011 15:02:33 +0000
(10:02 -0500)
plugins/telit.c
patch
|
blob
|
history
diff --git
a/plugins/telit.c
b/plugins/telit.c
index
2e422e7
..
cb34ae6
100644
(file)
--- a/
plugins/telit.c
+++ b/
plugins/telit.c
@@
-98,10
+98,8
@@
static void sap_close_io(struct ofono_modem *modem)
if (data->bt_watch > 0)
g_source_remove(data->bt_watch);
- if (data->hw_io != NULL) {
- g_io_channel_unref(data->hw_io);
- data->hw_io = NULL;
- }
+ g_io_channel_unref(data->hw_io);
+ data->hw_io = NULL;
if (data->hw_watch > 0)
g_source_remove(data->hw_watch);