X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fchar%2Fftape%2Flowlevel%2Fftape-bsm.c;h=d1a301cc344f4d5503b33b28979716253342c952;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=ab58bafcbf25d005c52fb3cfb125c7b4c56af42c;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/drivers/char/ftape/lowlevel/ftape-bsm.c b/drivers/char/ftape/lowlevel/ftape-bsm.c index ab58bafcb..d1a301cc3 100644 --- a/drivers/char/ftape/lowlevel/ftape-bsm.c +++ b/drivers/char/ftape/lowlevel/ftape-bsm.c @@ -46,6 +46,10 @@ typedef enum { forward, backward } mode_type; +#if 0 +static void ftape_put_bad_sector_entry(int segment_id, SectorMap new_map); +#endif + #if 0 /* fix_tape converts a normal QIC-80 tape into a 'wide' tape. * For testing purposes only ! @@ -375,7 +379,8 @@ static int backwards_seek_entry(int segment_id, } } -void ftape_put_bad_sector_entry(int segment_id, SectorMap new_map) +#if 0 +static void ftape_put_bad_sector_entry(int segment_id, SectorMap new_map) { SectorCount *ptr = (SectorCount *)bad_sector_map; int count; @@ -438,6 +443,7 @@ void ftape_put_bad_sector_entry(int segment_id, SectorMap new_map) } TRACE_EXIT; } +#endif /* 0 */ SectorMap ftape_get_bad_sector_entry(int segment_id) {