summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2012-10-31 10:33:32 +0100
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-11-05 14:44:36 +0200
commit9b1a20b1cf7fcfb080c353120bfc796fda56bf8a (patch)
tree0888220882942faf7d8936f239510da896450383 /include
parent571da6449e813c3cf1a3f9515818d69bbc2e264d (diff)
downloadconnman-9b1a20b1cf7fcfb080c353120bfc796fda56bf8a.tar.gz
connman-9b1a20b1cf7fcfb080c353120bfc796fda56bf8a.tar.bz2
connman-9b1a20b1cf7fcfb080c353120bfc796fda56bf8a.zip
session: Remove name variable from connman_session_bearer
The string is only used when appending the bearer to the D-Bus message in append_allowed_bearers(). Let's use __connman_session_type2string() in append_allowed_bearers(). This saves a bit of memory.
Diffstat (limited to 'include')
-rw-r--r--include/session.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/session.h b/include/session.h
index f006e009..73f951d6 100644
--- a/include/session.h
+++ b/include/session.h
@@ -52,7 +52,6 @@ enum connman_session_type {
struct connman_session;
struct connman_session_bearer {
- char *name;
connman_bool_t match_all;
enum connman_service_type service_type;
};