[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAH1kMwQz3=1uf5cR2sgNrWq6f+6x9icCYXXZLO4V41kS_mTr+w@mail.gmail.com>
Date: Wed, 24 Nov 2021 05:19:15 +0530
From: Vihas Mak <makvihas@...il.com>
To: Pavel Skripkin <paskripkin@...il.com>
Cc: Larry.Finger@...inger.net, Phillip Potter <phil@...lpotter.co.uk>,
Greg KH <gregkh@...uxfoundation.org>, straube.linux@...il.com,
martin@...ser.cx, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: r8188eu: remove unnecessary NULL check
>> BTW, same can be done in rtw_usb_if1_init().
Yea, I noticed that too. But the NULL check in rtw_usb_if1_init() has
a follow up "else if", so I didn't change it.
Thanks,
Vihas
On Tue, Nov 23, 2021 at 2:52 AM Pavel Skripkin <paskripkin@...il.com> wrote:
>
> On 11/22/21 22:53, Vihas Mak wrote:
> > remove unnecessary NULL check surrounding rtw_free_netdev(), as the check
> > is already performed inside rtw_free_netdev() in
> > drivers/staging/r8188eu/os_dep/osdep_service.c.
> >
> > Signed-off-by: Vihas Mak <makvihas@...il.com>
>
> Reviewed-by: Pavel Skripkin <paskripkin@...il.com>
>
> BTW, same can be done in rtw_usb_if1_init().
>
>
>
> With regards,
> Pavel Skripkin
Powered by blists - more mailing lists