Re: [PATCH 55/56] xen: Remove void casts

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

 



[Added maintainer CCs]
Jack Stone wrote:
> Remove uneeded void casts
>
> Signed-Off-By: Jack Stone <jwjstone@xxxxxxxxxxx>
> ---
>  drivers/xen/manage.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/xen/manage.c b/drivers/xen/manage.c
> index 0d61db1..89310fb 100644
> --- a/drivers/xen/manage.c
> +++ b/drivers/xen/manage.c
> @@ -149,7 +149,7 @@ static void shutdown_handler(struct xenbus_watch *watch,
>  	if (err)
>  		return;
>  
> -	str = (char *)xenbus_read(xbt, "control", "shutdown", NULL);
> +	str = xenbus_read(xbt, "control", "shutdown", NULL);
>  	/* Ignore read errors and empty reads. */
>  	if (XENBUS_IS_ERR_READ(str)) {
>  		xenbus_transaction_end(xbt, 1);
>   

--
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