On Wed, Mar 23, 2011 at 02:04:28AM -0700, Dan Williams wrote: > Not much beyond the defined semantics of cancel_delayed_work and > delayed_work_pending. I was looking to eliminate the current open > coded equivalent functionality. What's the problem with del_timer_sync and timer_pending? > I also want to get rid of the pre-allocation, which I assume was the > reason for the original comment? The preallocation is even more pointless. Just embedd the struct timer_list where the code currently has a pointer to the timer object. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html