summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-04-02 15:22:23 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-04-02 19:03:56 -0500
commitebc6e3b9dca6ce4c9d218423228b0bf710ab7454 (patch)
treeb99b208e4aeab3750f9815c137da883c254dd49f
parentffa99a1ebbe4b02a06e711a4d1817b35a89feb22 (diff)
downloadofono-ebc6e3b9dca6ce4c9d218423228b0bf710ab7454.tar.bz2
Refactor: Get rid of (now) pointless comments
-rw-r--r--gatchat/ppp_auth.c2
-rw-r--r--gatchat/ppp_ipcp.c2
-rw-r--r--gatchat/ppp_lcp.c2
-rw-r--r--gatchat/ppp_net.c2
4 files changed, 0 insertions, 8 deletions
diff --git a/gatchat/ppp_auth.c b/gatchat/ppp_auth.c
index 77fa06d2..e04f708d 100644
--- a/gatchat/ppp_auth.c
+++ b/gatchat/ppp_auth.c
@@ -163,8 +163,6 @@ static void chap_process_packet(struct auth_data *data, guint8 *new_packet)
static void chap_free(struct auth_data *auth)
{
- /* TBD unregister protocol handler */
-
g_free(auth->proto_data);
}
diff --git a/gatchat/ppp_ipcp.c b/gatchat/ppp_ipcp.c
index 394001e4..661ffa8b 100644
--- a/gatchat/ppp_ipcp.c
+++ b/gatchat/ppp_ipcp.c
@@ -225,8 +225,6 @@ void ipcp_free(struct pppcp_data *data)
{
struct ipcp_data *ipcp = data->priv;
- /* TBD unregister IPCP packet handler */
-
/* free ipcp */
g_free(ipcp);
diff --git a/gatchat/ppp_lcp.c b/gatchat/ppp_lcp.c
index 76c6759b..78407d41 100644
--- a/gatchat/ppp_lcp.c
+++ b/gatchat/ppp_lcp.c
@@ -211,8 +211,6 @@ void lcp_free(struct pppcp_data *lcp)
if (lcp == NULL)
return;
- /* TBD unregister packet handler */
-
pppcp_free(lcp);
}
diff --git a/gatchat/ppp_net.c b/gatchat/ppp_net.c
index 908da84f..f59cbbc6 100644
--- a/gatchat/ppp_net.c
+++ b/gatchat/ppp_net.c
@@ -158,8 +158,6 @@ struct ppp_net_data *ppp_net_new(GAtPPP *ppp)
void ppp_net_free(struct ppp_net_data *data)
{
- /* TBD unregister packet handler */
-
/* cleanup tun interface */
ppp_net_close(data);