Removed unused variables

Signed-off-by: Riccardo Binetti <punkerbino@gmail.com>
Merge branch 'grp51' of https://github.com/rbino/rtos2013 into grp51