Re: [PATCH 29/56] irda: Remove void casts

From: Bert Wesarg
Date: Wed Apr 08 2009 - 08:31:26 EST


On Wed, Apr 8, 2009 at 13:22, Jack Stone <jwjstone@xxxxxxxxxxx> wrote:
> Remove uneeded void casts
>
> Signed-Off-By: Jack Stone <jwjstone@xxxxxxxxxxx>
> ---
> Ânet/irda/discovery.c     |  Â4 ++--
> Ânet/irda/ircomm/ircomm_lmp.c | Â Â2 +-
> Ânet/irda/iriap.c       |  Â2 +-
> Ânet/irda/irnet/irnet_irda.c Â| Â Â2 +-
> Â4 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/net/irda/irnet/irnet_irda.c b/net/irda/irnet/irnet_irda.c
> index cf9a4b5..213f207 100644
> --- a/net/irda/irnet/irnet_irda.c
> +++ b/net/irda/irnet/irnet_irda.c
> @@ -766,7 +766,7 @@ irnet_find_socket(irnet_socket * Â Âself)
> Â Â* requested that nickname */
> Â if(err == 0)
> Â Â {
> - Â Â Ânew = (irnet_socket *) hashbin_find(irnet_server.list,
> + Â Â Ânew = hashbin_find(irnet_server.list,
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â0, self->rname);
Please check.

> Â Â Â if(new)
> Â Â Â ÂDEBUG(IRDA_SERV_INFO, "Socket 0x%p matches rname ``%s''.\n",
> --
Bert
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/