From 47db473269fa5c3e0a578dea31f064c96543f139 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Thu, 20 Dec 2012 02:17:23 +0000 Subject: [PATCH] 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 git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4655 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/dev_handlers/scst_tape.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scst/src/dev_handlers/scst_tape.c b/scst/src/dev_handlers/scst_tape.c index 818a4dbe9..ec40a9cb7 100644 --- a/scst/src/dev_handlers/scst_tape.c +++ b/scst/src/dev_handlers/scst_tape.c @@ -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;