From 881836a7707a05b0871c73c50ad48f591043d07e Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Wed, 11 Apr 2018 17:21:44 +0200 Subject: 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 --- include/osmocom/bsc/bsc_nat.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include/osmocom/bsc/bsc_nat.h') 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; }; -- cgit v1.2.3