[PATCH] Remove the unneeded expression in the for loop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



diff -r 07e009f3609d -r 5d646ecba14a usr/spc.c
--- a/usr/spc.c	Thu Feb 11 21:06:30 2010 -0800
+++ b/usr/spc.c	Thu Feb 11 21:08:48 2010 -0800
@@ -122,7 +122,7 @@ static void update_vpd_80(struct scsi_lu
 
 		p = data + vpd_pg->size - 1;
 		q = sn + tmp - 1;
-		for (; tmp > 0; tmp--, q)
+		for (; tmp > 0; tmp--)
 			*(p--) = *(q--);
 	}
 }
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux