[Open-FCoE] [PATCH] [FCoE] Remove calls to fcmenu in fcconf.

Steve Ma steve.ma at intel.com
Fri Apr 18 04:46:53 UTC 2008


Signed-off-by: Steve Ma <steve.ma at intel.com>
---

 usr/ofc/tools/fcconf/src/fcconf.c |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)


diff --git a/usr/ofc/tools/fcconf/src/fcconf.c b/usr/ofc/tools/fcconf/src/fcconf.c
index d3f0abf..a6f8963 100644
--- a/usr/ofc/tools/fcconf/src/fcconf.c
+++ b/usr/ofc/tools/fcconf/src/fcconf.c
@@ -30,8 +30,6 @@
 
 char *cmdname;
 
-static char fcmenu[] = "fcmenu";            /* command to run for menu mode */
-
 static void
 fcconf_lib_attr(const char *lib, const HBA_LIBRARYATTRIBUTES *ap)
 {
@@ -76,17 +74,6 @@ static void fcconf_version(void *args)
     }
 }
 
-static void fcc_menu_cmd(void *args)
-{
-    int rc;
-
-    rc = system(fcmenu);
-    if (rc != 0) {
-        fprintf(stderr, "%s: launch of %s failed, rc %d\n",
-          cmdname, fcmenu, rc);
-    }
-}
-
 static struct fcc_opts fcc_opts[] = {
     { "h", 0, (void (*)(void *)) fcconf_usage, "Display Usage" },
     { "?", 0, (void (*)(void *)) fcconf_usage, "Display Usage" },
@@ -105,7 +92,6 @@ static struct fcc_opts fcc_cmds[] = {
     { "info", 0, fcc_hba_info_cmd, "Show HBA info" },
     { "list", FCC_OPTF_ARGS, fcc_port_show_sum, "Show HBA info" },
     { "lun", FCC_OPTF_ARGS, fcc_lun_info_cmd, "Show LUN info" },
-    { "menu", FCC_OPTF_ARGS, fcc_menu_cmd, "Enter interactive mode" },
     { "register", 0, fcc_fdmi_reg, "Register port with FDMI" },
     { "remote", FCC_OPTF_ARGS, fcc_dev_remote_info_cmd,
       "Show discovered remote ports" },




More information about the devel mailing list