[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <786f4b066afe0eb7303f991f936b2643bcfc2d86.1291923889.git.joe@perches.com>
Date: Thu, 9 Dec 2010 12:03:58 -0800
From: Joe Perches <joe@...ches.com>
To: Boaz Harrosh <bharrosh@...asas.com>,
Benny Halevy <bhalevy@...asas.com>
Cc: Jiri Kosina <trivial@...nel.org>,
"James E.J. Bottomley" <James.Bottomley@...e.de>,
osd-dev@...n-osd.org, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 05/15] osd: Remove duplicate unlikely from IS_ERR
IS_ERR already uses unlikely, remove unlikely from the call sites.
Signed-off-by: Joe Perches <joe@...ches.com>
---
drivers/scsi/osd/osd_initiator.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/osd/osd_initiator.c b/drivers/scsi/osd/osd_initiator.c
index b798919..b37c8a3 100644
--- a/drivers/scsi/osd/osd_initiator.c
+++ b/drivers/scsi/osd/osd_initiator.c
@@ -951,7 +951,7 @@ static int _osd_req_finalize_cdb_cont(struct osd_request *or, const u8 *cap_key)
/* create a bio for continuation segment */
bio = bio_map_kern(req_q, or->cdb_cont.buff, or->cdb_cont.total_bytes,
GFP_KERNEL);
- if (unlikely(IS_ERR(bio)))
+ if (IS_ERR(bio))
return PTR_ERR(bio);
bio->bi_rw |= REQ_WRITE;
--
1.7.3.3.464.gf80b6
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists