lkml.org 
[lkml]   [2009]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 29/56] irda: Remove void casts
    From
    On Wed, Apr 8, 2009 at 13:22, Jack Stone <jwjstone@fastmail.fm> wrote:
    > Remove uneeded void casts
    >
    > Signed-Off-By: Jack Stone <jwjstone@fastmail.fm>
    > ---
    >  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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2009-04-08 14:35    [W:0.022 / U:0.848 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site