virtio-blk: fix NULL checking in virtblk_alloc_req()

Smatch complains about the inconsistent NULL checking here.  Fix it to
return NULL on failure.

Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Rusty Russell <[email protected]> (fixed accidental deletion)
1 file changed