aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBorislav Petkov <bbpetkov@yahoo.de>2008-02-02 13:56:48 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-02 13:56:48 -0500
commitc7ea8a1b36487cb3002c2a626261c99a9f30790c (patch)
tree92c2a278f5dc620eddf54f916553f18f18a84027
parent5ce78af4beeca6c80d8a4834f74297a8fa2e2253 (diff)
ide-tape: remove dead code
Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
-rw-r--r--drivers/ide/ide-tape.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c
index 045bd2ae0c0f..58c4c1bc35cd 100644
--- a/drivers/ide/ide-tape.c
+++ b/drivers/ide/ide-tape.c
@@ -784,21 +784,6 @@ typedef struct {
784 __u8 medium_type; /* Medium Type */ 784 __u8 medium_type; /* Medium Type */
785 __u8 dsp; /* Device Specific Parameter */ 785 __u8 dsp; /* Device Specific Parameter */
786 __u8 bdl; /* Block Descriptor Length */ 786 __u8 bdl; /* Block Descriptor Length */
787#if 0
788 /* data transfer page */
789 __u8 page_code :6;
790 __u8 reserved0_6 :1;
791 __u8 ps :1; /* parameters saveable */
792 __u8 page_length; /* page Length == 0x02 */
793 __u8 reserved2;
794 __u8 read32k :1; /* 32k blk size (data only) */
795 __u8 read32k5 :1; /* 32.5k blk size (data&AUX) */
796 __u8 reserved3_23 :2;
797 __u8 write32k :1; /* 32k blk size (data only) */
798 __u8 write32k5 :1; /* 32.5k blk size (data&AUX) */
799 __u8 reserved3_6 :1;
800 __u8 streaming :1; /* streaming mode enable */
801#endif
802} idetape_mode_parameter_header_t; 787} idetape_mode_parameter_header_t;
803 788
804/* 789/*
@@ -2006,12 +1991,6 @@ static ide_startstop_t idetape_do_request(ide_drive_t *drive,
2006 u8 stat; 1991 u8 stat;
2007 1992
2008#if IDETAPE_DEBUG_LOG 1993#if IDETAPE_DEBUG_LOG
2009#if 0
2010 if (tape->debug_level >= 5)
2011 printk(KERN_INFO "ide-tape: %d, "
2012 "dev: %s, cmd: %ld, errors: %d\n",
2013 rq->rq_disk->disk_name, rq->cmd[0], rq->errors);
2014#endif
2015 if (tape->debug_level >= 2) 1994 if (tape->debug_level >= 2)
2016 printk(KERN_INFO "ide-tape: sector: %ld, " 1995 printk(KERN_INFO "ide-tape: sector: %ld, "
2017 "nr_sectors: %ld, current_nr_sectors: %d\n", 1996 "nr_sectors: %ld, current_nr_sectors: %d\n",
@@ -2723,19 +2702,6 @@ static void idetape_create_rewind_cmd (ide_drive_t *drive, idetape_pc_t *pc)
2723 pc->callback = &idetape_pc_callback; 2702 pc->callback = &idetape_pc_callback;
2724} 2703}
2725 2704
2726#if 0
2727static void idetape_create_mode_select_cmd (idetape_pc_t *pc, int length)
2728{
2729 idetape_init_pc(pc);
2730 set_bit(PC_WRITING, &pc->flags);
2731 pc->c[0] = IDETAPE_MODE_SELECT_CMD;
2732 pc->c[1] = 0x10;
2733 put_unaligned(htons(length), (unsigned short *) &pc->c[3]);
2734 pc->request_transfer = 255;
2735 pc->callback = &idetape_pc_callback;
2736}
2737#endif
2738
2739static void idetape_create_erase_cmd (idetape_pc_t *pc) 2705static void idetape_create_erase_cmd (idetape_pc_t *pc)
2740{ 2706{
2741 idetape_init_pc(pc); 2707 idetape_init_pc(pc);