# control_panes_RB_REMOVE

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L155
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-control-c-control_panes_rb_remove/

```c
static struct control_pane * control_panes_RB_REMOVE(struct control_panes *head, struct control_pane *elm)
```

## Parameters

- `head` (`struct control_panes *`)
- `elm` (`struct control_pane *`)

## Referenced declarations

- [`control_pane`](/en/tmux/3.2a/reference/c-struct-control_pane/) (struct)
- [`control_panes`](/en/tmux/3.2a/reference/c-struct-control_panes/) (struct)
