Michael S. Tsirkin wrote: > Yes, I see lots of such bogus warnings in kernel code too. > And it seems obvious that since compiler isn't smart enough to > figure out the initialization isn't needed, it will generate > unecessary code if we *do* add initilization just to shut it up.
Can we relocate the setting for op0 and f0 outside of the for-loop (maybe before we enter the loop)? I'm really not familiar with this code, but on first glance, it looks like these are set based on the send_flag of the first posted wr. This could eliminate the warning, and remove an if statement from executing on each iteration. - Sean _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
