From: <bva...@us...> - 2011-06-19 18:43:37
|
Revision: 3600 http://scst.svn.sourceforge.net/scst/?rev=3600&view=rev Author: bvassche Date: 2011-06-19 18:43:31 +0000 (Sun, 19 Jun 2011) Log Message: ----------- scstadmin: Minor source code simplification Modified Paths: -------------- trunk/scstadmin/scstadmin.sysfs/scstadmin Modified: trunk/scstadmin/scstadmin.sysfs/scstadmin =================================================================== --- trunk/scstadmin/scstadmin.sysfs/scstadmin 2011-06-19 17:30:41 UTC (rev 3599) +++ trunk/scstadmin/scstadmin.sysfs/scstadmin 2011-06-19 18:43:31 UTC (rev 3600) @@ -1430,14 +1430,8 @@ if ($lun_buff || $init_buff) { $group_buff .= " {\n"; - - if ($lun_buff) { - $group_buff .= $lun_buff; - } - - if ($init_buff) { - $group_buff .= $init_buff; - } + $group_buff .= $lun_buff; + $group_buff .= $init_buff; } my $grp_attributes = $SCST->groupAttributes($driver, $target, $group); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |