PM / Wakeup: Remove useless synchronize_rcu() call
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 11 May 2011 20:40:45 +0000 (22:40 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Tue, 17 May 2011 21:19:19 +0000 (23:19 +0200)
commit13e381365614855bf14c8ad68f9b65e3afd3dd2c
treeb51f9b4eda56b768f2cc8f5646dd02a8d49d900c
parent13d53f8775c6a00b070a3eef6833795412eb7fcd
PM / Wakeup: Remove useless synchronize_rcu() call

wakeup_source_add() adds an item into wakeup_sources list.

There is no need to call synchronize_rcu() at this point.

Its only needed in wakeup_source_remove()

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/base/power/wakeup.c