diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-04-05 14:16:00 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-04-05 14:16:00 -0500 |
commit | 60d96505dce4f11da7c307b03557a6f2ee8c139d (patch) | |
tree | 6f9222ca136b81afc0a1a2ee3b51b4228557eb1c /gatchat/ppp_lcp.c | |
parent | 331fcaea32627b58882e36752068cb25987a22fe (diff) | |
download | ofono-60d96505dce4f11da7c307b03557a6f2ee8c139d.tar.bz2 |
Refactor: Add pppcp_set_data & pppcp_get_data
Using these functions makes the code much cleaner than trying to pass
the priv pointer everywhere
Diffstat (limited to 'gatchat/ppp_lcp.c')
-rw-r--r-- | gatchat/ppp_lcp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gatchat/ppp_lcp.c b/gatchat/ppp_lcp.c index 6460f336..aee7b104 100644 --- a/gatchat/ppp_lcp.c +++ b/gatchat/ppp_lcp.c @@ -220,7 +220,6 @@ struct pppcp_data *lcp_new(GAtPPP *ppp) pppcp->option_strings = lcp_option_strings; pppcp->prefix = "lcp"; - pppcp->priv = pppcp; /* set the actions */ pppcp->action = &lcp_action; |