aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/bsc
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-04-11 17:21:44 +0200
committerHarald Welte <laforge@gnumonks.org>2018-04-11 16:52:49 +0000
commit881836a7707a05b0871c73c50ad48f591043d07e (patch)
tree6283a757445b4c0805e9d6b76c673a2b59a3c8b8 /include/osmocom/bsc
parentdf7a97507693853c05eeeeaad9a396e200b028d9 (diff)
bsc_nat: Drop redundant ccon ptr in bsc_cmd_list
It can be obtained from cmd field, so no need to store it in pending. This way we simplify the ad-hoc struct bsc_cmd_list. Change-Id: I6de64fc128ad623ca30b9e6cebebaff8de18f95d
Diffstat (limited to 'include/osmocom/bsc')
-rw-r--r--include/osmocom/bsc/bsc_nat.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/osmocom/bsc/bsc_nat.h b/include/osmocom/bsc/bsc_nat.h
index 452daf2ab..6146c002b 100644
--- a/include/osmocom/bsc/bsc_nat.h
+++ b/include/osmocom/bsc/bsc_nat.h
@@ -70,9 +70,6 @@ struct bsc_cmd_list {
/* The NATed ID used on the bsc_con*/
int nat_id;
- /* The control connection from which the command originated */
- struct ctrl_connection *ccon;
-
/* The command from the control connection */
struct ctrl_cmd *cmd;
};