drbd: Get rid of the WORK_PENDING macro
authorAndreas Gruenbacher <andreas.gruenbacher@gmail.com>
Thu, 11 Sep 2014 12:29:10 +0000 (14:29 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 11 Sep 2014 14:41:29 +0000 (08:41 -0600)
commitb47a06d10561bfe7317b1355b4b8e4168fc6b4b7
treef2f67894080e487e8aadd24f2a1509a678debc59
parentd1b8085356391d1d5151670ab96baae6234d1e20
drbd: Get rid of the WORK_PENDING macro

This macro doesn't add any value; just use test_bit() instead.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/drbd/drbd_worker.c