Re: [PATCH 11/20] Btrfs: drop useless LIST_HEAD

2019-01-02 Thread David Sterba
On Sun, Dec 23, 2018 at 09:57:06AM +0100, Julia Lawall wrote: > Drop LIST_HEAD where the variable it declares is never used. > > The uses were removed in 3fd0a5585eb9 ("Btrfs: Metadata ENOSPC > handling for balance"), but not the declaration. > > The semantic patch that fixes this problem is as f

[PATCH 11/20] Btrfs: drop useless LIST_HEAD

2018-12-23 Thread Julia Lawall
Drop LIST_HEAD where the variable it declares is never used. The uses were removed in 3fd0a5585eb9 ("Btrfs: Metadata ENOSPC handling for balance"), but not the declaration. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ identifier x; @@ - LIST_HEAD(