]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
scsi: fix the wrong position of the comment
authorAkinobu Mita <akinobu.mita@gmail.com>
Wed, 20 Mar 2013 04:08:48 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 21 Mar 2013 05:34:34 +0000 (16:34 +1100)
This fixes the wrong position of the comment introduced by
scsi-rename-random32-to-prandom_u32.patch in the -mm tree.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: "James E.J. Bottomley" <JBottomley@parallels.com>
Cc: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/scsi/qla2xxx/qla_attr.c

index 04bf7b8c98d441bcf0dd5b0eca8788850641ad74..e44d47e23fe8f1c51652f3e68aa9c1a74e92c918 100644 (file)
@@ -1939,13 +1939,13 @@ qla24xx_vport_delete(struct fc_vport *fc_vport)
        }
 
        /* No pending activities shall be there on the vha now */
-       if (ql2xextended_error_logging & ql_dbg_user)
-               msleep(prandom_u32() % 10);
+       if (ql2xextended_error_logging & ql_dbg_user) {
                /*
                 * Just to see if something falls on the net we have placed
                 * below
                 */
-
+               msleep(prandom_u32() % 10);
+       }
        BUG_ON(atomic_read(&vha->vref_count));
 
        qla2x00_free_fcports(vha);