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 kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html