Search Linux Wireless

Re: [PATCH 1/4] staging: wilc1000: use memset instead of WILC_memset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Chaehyun,

On Fri, Aug 7, 2015 at 10:02 AM, Chaehyun Lim <chaehyun.lim@xxxxxxxxx> wrote:
> Use memset instead of WILC_memset.
>
> Signed-off-by: Chaehyun Lim <chaehyun.lim@xxxxxxxxx>
> ---
>  drivers/staging/wilc1000/coreconfigurator.c       |  16 +--
>  drivers/staging/wilc1000/host_interface.c         | 134 +++++++++++-----------
>  drivers/staging/wilc1000/wilc_wfi_cfgoperations.c |  16 +--
>  3 files changed, 83 insertions(+), 83 deletions(-)
>
> diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c
> index 342a336..93942b2 100644
> --- a/drivers/staging/wilc1000/coreconfigurator.c
> +++ b/drivers/staging/wilc1000/coreconfigurator.c
> @@ -681,9 +681,9 @@ s32 CoreConfiguratorInit(void)
>                 goto _fail_;
>         }
>
> -       WILC_memset((void *)gps8ConfigPacket, 0, MAX_PACKET_BUFF_SIZE);
> +       memset((void *)gps8ConfigPacket, 0, MAX_PACKET_BUFF_SIZE);

I believe you can get rid of these void* casts, you're modifying the
line anyway.

Thanks,

-- 
Julian Calaby

Email: julian.calaby@xxxxxxxxx
Profile: http://www.google.com/profiles/julian.calaby/
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux