Re: [PATCH] staging: r8188eu: remove rtl8188e_silentreset_for_specific_platform()
From: Dan Carpenter
Date: Thu Sep 30 2021 - 08:40:19 EST
On Thu, Sep 30, 2021 at 10:55:42AM +0200, Michael Straube wrote:
> diff --git a/drivers/staging/r8188eu/os_dep/ioctl_linux.c b/drivers/staging/r8188eu/os_dep/ioctl_linux.c
> index dd47098ed1e5..852f8e0bbf64 100644
> --- a/drivers/staging/r8188eu/os_dep/ioctl_linux.c
> +++ b/drivers/staging/r8188eu/os_dep/ioctl_linux.c
> @@ -4005,7 +4005,6 @@ static int rtw_dbg_port(struct net_device *dev,
> case 0x0f:
> if (extra_arg == 0) {
> DBG_88E("###### silent reset test.......#####\n");
> - rtl8188e_silentreset_for_specific_platform(padapter);
> }
This introduces a new checkpatch warning about unnessary curly braces.
Just delete the whole if statement.
regards,
dan carpenter