summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-05-14 13:59:25 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-05-14 13:59:25 +0200
commit2d05764a77078953849a1f84ac269c927904ca23 (patch)
treead8538aa09b23c09c55c281d92ba8f264a7355bf
parent138cf75e4eda54ab519c0d77ad3ca4b467dfe7ec (diff)
scsi_id: remove bus_id option
-rw-r--r--extras/scsi_id/scsi_id.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/extras/scsi_id/scsi_id.c b/extras/scsi_id/scsi_id.c
index 0f09f29b64..6194b7180a 100644
--- a/extras/scsi_id/scsi_id.c
+++ b/extras/scsi_id/scsi_id.c
@@ -37,7 +37,6 @@ static const struct option options[] = {
{ "page", 1, NULL, 'p' },
{ "blacklisted", 0, NULL, 'b' },
{ "whitelisted", 0, NULL, 'g' },
- { "prefix-bus-id", 0, NULL, 'i' },
{ "replace-whitespace", 0, NULL, 'u' },
{ "verbose", 0, NULL, 'v' },
{ "version", 0, NULL, 'V' },
@@ -52,7 +51,6 @@ static const char dev_short_options[] = "bgp:";
static int all_good;
static int dev_specified;
static char config_file[MAX_PATH_LEN] = SCSI_ID_CONFIG_FILE;
-static int display_bus_id;
static enum page_code default_page_code;
static int use_stderr;
static int debug;
@@ -426,7 +424,6 @@ static int set_options(int argc, char **argv, const char *short_opts,
" --page SCSI page (0x80, 0x83, pre-spc3-83)\n"
" --blacklisted threat device as blacklisted\n"
" --whitelisted threat device as whitelisted\n"
- " --prefix-bus-id prefix SCSI bus id\n"
" --replace-whitespace replace all whitespaces by underscores\n"
" --verbose verbose logging\n"
" --version print version\n"
@@ -434,10 +431,6 @@ static int set_options(int argc, char **argv, const char *short_opts,
" --help print this help text\n\n");
exit(0);
- case 'i':
- display_bus_id = 1;
- break;
-
case 'p':
if (strcmp(optarg, "0x80") == 0) {
default_page_code = PAGE_80;