Re: [PATCH 03/56] atm: Remove void casts

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

 



[Added maintainer CC]
Jack Stone wrote:
> Remove uneeded void casts
>
> Signed-Off-By: Jack Stone <jwjstone@xxxxxxxxxxx>
> ---
>  drivers/atm/lanai.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/atm/lanai.c b/drivers/atm/lanai.c
> index cf97c34..2c9d0da 100644
> --- a/drivers/atm/lanai.c
> +++ b/drivers/atm/lanai.c
> @@ -1459,7 +1459,7 @@ static int __devinit vcc_table_allocate(struct lanai_dev *lanai)
>  	return (lanai->vccs == NULL) ? -ENOMEM : 0;
>  #else
>  	int bytes = (lanai->num_vci) * sizeof(struct lanai_vcc *);
> -	lanai->vccs = (struct lanai_vcc **) vmalloc(bytes);
> +	lanai->vccs = vmalloc(bytes);
>  	if (unlikely(lanai->vccs == NULL))
>  		return -ENOMEM;
>  	memset(lanai->vccs, 0, bytes);
>   

--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux