diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-04-05 16:14:39 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-04-05 16:14:39 -0500 |
commit | 4f5de3426e11f6f382a3063cc7d3ce0ec4d52a97 (patch) | |
tree | 0986b92c1ecc154d0631ffcd4f317601541dd2f7 /gatchat/ppp_cp.h | |
parent | 48a012c810ab16eb616b332a0bfcde88780877d7 (diff) | |
download | ofono-4f5de3426e11f6f382a3063cc7d3ce0ec4d52a97.tar.bz2 |
Refactor: Move packet_ops to a static look-up
No need to allocate space for this, as it is always the same for all
instances.
Diffstat (limited to 'gatchat/ppp_cp.h')
-rw-r--r-- | gatchat/ppp_cp.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gatchat/ppp_cp.h b/gatchat/ppp_cp.h index 71d40806..9cba8047 100644 --- a/gatchat/ppp_cp.h +++ b/gatchat/ppp_cp.h @@ -80,8 +80,6 @@ struct pppcp_data { guint8 reject_identifier; struct pppcp_action *action; guint16 valid_codes; - guint8 (*packet_ops[11])(struct pppcp_data *data, - struct pppcp_packet *packet); gpointer priv; guint16 proto; const char *prefix; |