[openib-general] [PATCH TRIVIAL] opensm: remove osm_physp_get_port_info_ptr() checks

Hal Rosenstock halr at voltaire.com
Mon Jan 8 08:59:03 PST 2007


On Sun, 2007-01-07 at 16:47, Sasha Khapyorsky wrote:
> This function returns address of osm_physp's port_info field, the result
> cannot be NULL (unless physp itself is valid pointer). Not need to check.
> 
> Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
> ---

Good catch.

Thanks.

-- Hal





More information about the general mailing list