Re: [PATCH] net/atm: use list_is_singular() in br2684_setfilt()

2020-10-28 Thread Jakub Kicinski
On Tue, 27 Oct 2020 00:57:00 +0800 Hui Su wrote: > list_is_singular() can tell whether a list has just one entry. > So we use list_is_singular() here. > > Signed-off-by: Hui Su > --- > net/atm/br2684.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/net/atm/br2684.c b

[PATCH] net/atm: use list_is_singular() in br2684_setfilt()

2020-10-26 Thread Hui Su
list_is_singular() can tell whether a list has just one entry. So we use list_is_singular() here. Signed-off-by: Hui Su --- net/atm/br2684.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/net/atm/br2684.c b/net/atm/br2684.c index 3e17a5ecaa94..398f7e086cf4 100644 --- a/net