# Re: \[PATCH net v4 11/12\] net: remove unnecessary variables and callback

- From: Johannes Berg \<johannes@sipsolutions.net\>
- Date: 2019-09-28 19:42:26 
- List: netdev
- Page: https://ratatoskr.run/netdev/2019/09/11148491
- Thread: https://ratatoskr.run/netdev/2019/09/11148474/t.md

```text
On Sat, 2019-09-28 at 16:48 +0000, Taehee Yoo wrote:
> This patch removes variables and callback these are related to the nested
> device structure.
> devices that can be nested have their own nest_level variable that
> represents the depth of nested devices.
> In the previous patch, new {lower/upper}_level variables are added and
> they replace old private nest_level variable.
> So, this patch removes all 'nest_level' variables.

Ah, well, I see at least this patch also needs the nesting level tracked
in the netdev, at least the "lower_level".

johannes

```
