device: Simplify device_pending_reset()
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 2 Sep 2011 10:34:56 +0000 (13:34 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 12 Sep 2011 09:40:49 +0000 (11:40 +0200)
commit68d25b8a5706b2682ff546dda3f62f28c7d25cf7
tree065d577a7def14160a1315021f1e8227472876eb
parent968b95337f2c6cdfaf6447c417e8a7cac57ac565
device: Simplify device_pending_reset()

The g_source for device_pending_reset() is going to be removed when
the callback function returns FALSE. Thus simplify the code with a
few lines.
src/device.c