[PATCH] loop 5/9 remove an IV

From: Hugh Dickins (hugh@veritas.com)
Date: Tue Jun 10 2003 - 10:33:36 EST


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/



This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:24 EST