Quoting r. Hal Rosenstock <[EMAIL PROTECTED]>: > Subject: [PATCH] [TRIVIAL] OpenSM/osm_sm_mad_ctrl.c: Make some dead code be > compiled out > > OpenSM/osm_sm_mad_ctrl.c: Make some dead code be compiled out > > Signed-off-by: Hal Rosenstock <[EMAIL PROTECTED]>
> @@ -844,25 +846,26 @@ __osm_sm_mad_ctrl_send_err_cb( > lid. > */ > /* For now - do not add the alternate dr path to the release */ > - if (0) > - if ( p_madw->mad_addr.dest_lid != 0xFFFF ) > +#if 0 > + if ( p_madw->mad_addr.dest_lid != 0xFFFF ) In my experience, if you compile with -O, gcc does a good enough job of dead code elimination. -- MST _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
