Remove a superfluous pair of braces

Avoid that checkpatch v3.7 reports the following warning:

WARNING: braces {} are not necessary for any arm of this statement

Signed-off-by: Bart Van Assche <bvanassche@acm.org>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4655 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2012-12-20 02:17:23 +00:00
parent 0d0b4e5af1
commit 47db473269
+2 -2
View File
@@ -207,9 +207,9 @@ static int tape_attach(struct scst_device *dev)
if (rc == 0) {
int medium_type, mode, speed, density;
if (buffer[3] == 8) {
if (buffer[3] == 8)
dev->block_size = get_unaligned_be24(&buffer[9]);
} else
else
dev->block_size = TAPE_DEF_BLOCK_SIZE;
medium_type = buffer[1];
mode = (buffer[2] & 0x70) >> 4;