removed unused parameter
authorDmitry Kasatkin <dmitry.kasatkin@intel.com>
Thu, 5 Apr 2012 10:48:39 +0000 (13:48 +0300)
committerDmitry Kasatkin <dmitry.kasatkin@intel.com>
Thu, 6 Sep 2012 11:08:53 +0000 (14:08 +0300)
Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
src/evmctl.c

index 0f34bc2..6eefe06 100644 (file)
@@ -1201,7 +1201,6 @@ struct command cmds[] = {
 
 static struct option opts[] = {
        {"help", 0, 0, 'h'},
-       {"inkey", 1, 0, 'k'},
        {"imasig", 0, 0, 's'},
        {"imahash", 0, 0, 'd'},
        {"hashalgo", 1, 0, 'a'},
@@ -1220,7 +1219,7 @@ int main(int argc, char *argv[])
        g_argc = argc;
 
        while (1) {
-               c = getopt_long(argc, argv, "hk:vnsda:bp:f", opts, &lind);
+               c = getopt_long(argc, argv, "hvnsda:bp:f", opts, &lind);
                if (c == -1)
                        break;
 
@@ -1229,9 +1228,6 @@ int main(int argc, char *argv[])
                        usage();
                        exit(0);
                        break;
-               case 'k':
-                       printf("inkey: %s\n", optarg);
-                       break;
                case 'v':
                        verbose++;
                        break;