summaryrefslogtreecommitdiffstats
path: root/plugins/n900.c
diff options
context:
space:
mode:
authorAndrzej Zaborowski <andrew.zaborowski@intel.com>2010-12-23 05:39:40 +0100
committerDenis Kenzior <denkenz@gmail.com>2010-12-23 18:25:40 -0600
commit369fe6b146175b899a18b62928b74af055d603aa (patch)
tree816ad56d9a0eee863ab71338d7e3f167f81af187 /plugins/n900.c
parentb106db583a45c2b8e7b1684b525ac50d4790ee50 (diff)
downloadofono-369fe6b146175b899a18b62928b74af055d603aa.tar.bz2
n900: remove unneeded g_isi_client_destroy call
"client" is either NULL or uninitialised in this place.
Diffstat (limited to 'plugins/n900.c')
-rw-r--r--plugins/n900.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/n900.c b/plugins/n900.c
index 711f4ed1..29daf05d 100644
--- a/plugins/n900.c
+++ b/plugins/n900.c
@@ -382,7 +382,6 @@ static int n900_probe(struct ofono_modem *modem)
return 0;
error:
- g_isi_client_destroy(client);
g_isi_modem_destroy(isimodem);
gpio_remove(modem);
g_free(isi);