rbd: drop needless test in rbd_rq_fn()
authorAlex Elder <elder@inktank.com>
Thu, 9 Aug 2012 17:33:25 +0000 (10:33 -0700)
committerAlex Elder <elder@inktank.com>
Mon, 1 Oct 2012 19:30:50 +0000 (14:30 -0500)
commit38f5f65e9d25b0a7270c337a35c724ca3d56f4d8
treee58063451099ae939153bea7d4618f6ba4b1786e
parent542582fce1700c01b12e7945aaf173074e008e3e
rbd: drop needless test in rbd_rq_fn()

There's a test for null rq pointer inside the while loop in
rbd_rq_fn() that's not needed.  That same test already occurred
in the immediatly preceding loop condition test.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
drivers/block/rbd.c