On Wed, Feb 23, 2011 at 9:25 PM, Dave Hylands <dhylands@gmail.com> wrote:
Hi shafi,

On Wed, Feb 23, 2011 at 8:09 AM, Mohammed Shafi <shafi.kernel@gmail.com> wrote:
> Hi all,
>           can some please explain what does setup_timer does.
> thanks in advance,

It initializes the timer structure and stores the callback function
which will be called when the timer expires.

Dave thanks a lot for your reply and your simple answer cleared my doubts completely!
I was looking at a protocol stack code where this function is used in few places and now I am able to understand it.
thanks once again!

Dave Hylands