This is so minor.. Please feel free to ignore.

>From e9a5eda664cde38f8aeb48df480a3dd230e3965d Mon Sep 17 00:00:00 2001
From: Mark Harvey <[EMAIL PROTECTED]>
Date: Fri, 18 Jul 2008 18:04:03 +1000
Subject: Coding style update.

Remove unnecessary grouping around if statements.

Signed-off-by: Mark Harvey <[EMAIL PROTECTED]>
---
 usr/spc.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/usr/spc.c b/usr/spc.c
index da0187f..bd2c975 100644
--- a/usr/spc.c
+++ b/usr/spc.c
@@ -977,11 +977,10 @@ int lu_config(struct scsi_lu *lu, char *params, 
match_fn_t *fn)
                        break;
                case Opt_online:
                        match_strncpy(buf, &args[0], sizeof(buf));
-                       if (atoi(buf)) {
+                       if (atoi(buf))
                                lu->dev_type_template.lu_online(lu);
-                       } else {
+                       else
                                lu->dev_type_template.lu_offline(lu);
-                       }
                        break;
                case Opt_mode_page:
                        match_strncpy(buf, &args[0], sizeof(buf));
-- 
1.5.4.3


_______________________________________________
Stgt-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/stgt-devel

Reply via email to