[ofw] Re: [PATCH] opemsm code cleanup

Sasha Khapyorsky sashak at voltaire.com
Wed Oct 28 09:15:07 PDT 2009


On 10:43 Tue 27 Oct     , Stan C. Smith wrote:
> 
> Cleanup code by removing if statement which does nothing.
> 
> Signed-off-by: stan smith <stan.smith at intel.com>

Whitespaces are mangled in the patch. Applied by hands. Thanks.

Sasha

> 
> diff --git a/opensm/opensm/osm_vl15intf.c b/opensm/opensm/osm_vl15intf.c
> index 9e43a9c..ee9626f 100644
> --- a/opensm/opensm/osm_vl15intf.c
> +++ b/opensm/opensm/osm_vl15intf.c
> @@ -271,9 +271,6 @@ ib_api_status_t osm_vl15_init(IN osm_vl15_t * p_vl, IN osm_vendor_t * p_vend,
>          */
>         status = cl_thread_init(&p_vl->poller, vl15_poller, p_vl,
>                                 "opensm poller");
> -       if (status != IB_SUCCESS)
> -               goto Exit;
> -
>  Exit:
>         OSM_LOG_EXIT(p_log);
>         return (status);
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 



More information about the ofw mailing list