Remove compatibility for very old fcoe modules which
didn't have the sysfs parameters subdir.

Signed-off-by: Joe Eykholt <[email protected]>
---
 contrib/fcc.sh |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)


diff --git a/contrib/fcc.sh b/contrib/fcc.sh
index 46a8345..6115131 100755
--- a/contrib/fcc.sh
+++ b/contrib/fcc.sh
@@ -346,12 +346,6 @@ fcoe_ctl() {
        local hba=$1
        local cmd=$2
        local file=$fcoe_dir/parameters/$2
-       local old_file=$fcoe_dir/$2
-
-       if [ -w "$old_file" ]
-       then
-               file=$old_file
-       fi
 
        if [ -w "$file" ]
        then


_______________________________________________
devel mailing list
[email protected]
http://www.open-fcoe.org/mailman/listinfo/devel

Reply via email to