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/
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux