lkml.org 
[lkml]   [2009]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 33/56] tipc: Remove void casts
[Added maintainer CCs]
Jack Stone wrote:
> Remove uneeded void casts
>
> Signed-Off-By: Jack Stone <jwjstone@fastmail.fm>
> ---
> net/tipc/port.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/net/tipc/port.c b/net/tipc/port.c
> index e70d27e..0804ae2 100644
> --- a/net/tipc/port.c
> +++ b/net/tipc/port.c
> @@ -1528,7 +1528,7 @@ int tipc_forward_buf2name(u32 ref,
> u32 destport = 0;
> int res;
>
> - p_ptr = (struct port *)tipc_ref_deref(ref);
> + p_ptr = tipc_ref_deref(ref);
> if (!p_ptr || p_ptr->publ.connected)
> return -EINVAL;
>
> @@ -1656,7 +1656,7 @@ int tipc_forward_buf2port(u32 ref,
> struct tipc_msg *msg;
> int res;
>
> - p_ptr = (struct port *)tipc_ref_deref(ref);
> + p_ptr = tipc_ref_deref(ref);
> if (!p_ptr || p_ptr->publ.connected)
> return -EINVAL;
>
>



\
 
 \ /
  Last update: 2009-04-09 12:17    [W:0.604 / U:5.492 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site