lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1433503052-8414-1-git-send-email-mmasztalerczuk@gmail.com>
Date:	Fri,  5 Jun 2015 13:17:32 +0200
From:	Mariusz Masztalerczuk <mmasztalerczuk@...il.com>
To:	benjamin.romer@...sys.com
Cc:	devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
	Mariusz Masztalerczuk <mmasztalerczuk@...il.com>
Subject: [PATCH] Staging: unisys: virthba: fixed a brace coding style issue

Fixed a coding style issue.

Signed-off-by: Mariusz Masztalerczuk <mmasztalerczuk@...il.com>
---
 drivers/staging/unisys/virthba/virthba.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/unisys/virthba/virthba.c b/drivers/staging/unisys/virthba/virthba.c
index d9001cc..9892c63 100644
--- a/drivers/staging/unisys/virthba/virthba.c
+++ b/drivers/staging/unisys/virthba/virthba.c
@@ -868,9 +868,8 @@ virthba_queue_command_lck(struct scsi_cmnd *scsicmd,
 	/* The following code does NOT make that assumption. */
 	/* convert buffer to phys information */
 	if (scsi_sg_count(scsicmd) == 0) {
-		if (scsi_bufflen(scsicmd) > 0) {
+		if (scsi_bufflen(scsicmd) > 0)
 			BUG_ON(scsi_sg_count(scsicmd) == 0);
-		}
 	} else {
 		/* buffer is scatterlist - copy it out */
 		sgl = scsi_sglist(scsicmd);
@@ -1068,9 +1067,8 @@ do_scsi_nolinuxstat(struct uiscmdrsp *cmdrsp, struct scsi_cmnd *scsicmd)
 
 			if (atomic_read(&vdisk->ios_threshold) > 0) {
 				atomic_dec(&vdisk->ios_threshold);
-				if (atomic_read(&vdisk->ios_threshold) == 0) {
+				if (atomic_read(&vdisk->ios_threshold) == 0)
 					atomic_set(&vdisk->error_count, 0);
-				}
 			}
 		}
 	}
-- 
1.9.1

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ