Re: [PATCH] netfilter: nf_tables: remove redundant assignment of variable err

2021-02-03 Thread Pablo Neira Ayuso
On Thu, Feb 04, 2021 at 12:04:21AM +0100, Pablo Neira Ayuso wrote: > On Thu, Jan 28, 2021 at 05:59:23PM +, Colin King wrote: > > From: Colin Ian King > > > > The variable err is being assigned a value that is never read, > > the same error number is being returned at the error return > > path

Re: [PATCH] netfilter: nf_tables: remove redundant assignment of variable err

2021-02-03 Thread Pablo Neira Ayuso
On Thu, Jan 28, 2021 at 05:59:23PM +, Colin King wrote: > From: Colin Ian King > > The variable err is being assigned a value that is never read, > the same error number is being returned at the error return > path via label err1. Clean up the code by removing the assignment. Applied to nf,