[PATCH] loop 5/9 remove an IV

Hugh Dickins (hugh@veritas.com)
Tue, 10 Jun 2003 16:33:36 +0100 (BST)


Remove unused IV from loop_make_request (loop_transfer_bio does that).

--- loop4/drivers/block/loop.c Mon Jun 9 15:58:48 2003
+++ loop5/drivers/block/loop.c Mon Jun 9 15:57:31 2003
@@ -544,7 +544,6 @@
{
struct bio *new_bio = NULL;
struct loop_device *lo = q->queuedata;
- unsigned long IV;
int rw = bio_rw(old_bio);

if (!lo)
@@ -580,7 +579,6 @@
* piggy old buffer on original, and submit for I/O
*/
new_bio = loop_get_buffer(lo, old_bio);
- IV = loop_get_iv(lo, old_bio->bi_sector);
if (rw == WRITE) {
if (loop_transfer_bio(lo, new_bio, old_bio))
goto err;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/