scst: Remove three superfluous unlikely() annotations

This was detected by checkpatch.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8689 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2019-12-21 02:55:40 +00:00
parent 3217d67ef4
commit 79b07ad0c3
+3 -3
View File
@@ -8294,7 +8294,7 @@ static struct request *__blk_map_kern_sg(struct request_queue *q,
}
rq = blk_make_request(q, hbio, gfp_mask);
if (unlikely(IS_ERR(rq)))
if (IS_ERR(rq))
goto out_free_bios;
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 16, 0)
@@ -8371,11 +8371,11 @@ static struct request *blk_map_kern_sg(struct request_queue *q,
}
rq = __blk_map_kern_sg(q, sgl, nents, NULL, gfp, reading);
if (unlikely(IS_ERR(rq))) {
if (IS_ERR(rq)) {
struct blk_kern_sg_work *bw;
bw = blk_copy_kern_sg(q, sgl, nents, gfp, reading);
if (unlikely(IS_ERR(bw))) {
if (IS_ERR(bw)) {
rq = ERR_PTR(PTR_ERR(bw));
goto out;
}