]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
libceph: don't try checking queue_work() return value
authorIlya Dryomov <ilya.dryomov@inktank.com>
Thu, 11 Sep 2014 08:18:53 +0000 (12:18 +0400)
committerIlya Dryomov <idryomov@redhat.com>
Tue, 14 Oct 2014 17:03:25 +0000 (21:03 +0400)
commit91883cd27c4e2523dd53e2bd6f71a1c5e0be5a38
tree2c3a8935d1967fa5d7c91ab4ba82d90e8b49f316
parent03974e8177b36d672eb59658f976f03cb77c1129
libceph: don't try checking queue_work() return value

queue_work() doesn't "fail to queue", it returns false if work was
already on a queue, which can't happen here since we allocate
event_work right before we queue it.  So don't bother at all.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Alex Elder <elder@linaro.org>
net/ceph/osd_client.c