diff options
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 4cd7157a403f..59aedcd7faee 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -341,11 +341,6 @@ enum { | |||
341 | PC_FLAG_WRITING = (1 << 6), | 341 | PC_FLAG_WRITING = (1 << 6), |
342 | }; | 342 | }; |
343 | 343 | ||
344 | /* | ||
345 | * With each packet command, we allocate a buffer of IDE_PC_BUFFER_SIZE bytes. | ||
346 | * This is used for several packet commands (not for READ/WRITE commands). | ||
347 | */ | ||
348 | #define IDE_PC_BUFFER_SIZE 64 | ||
349 | #define ATAPI_WAIT_PC (60 * HZ) | 344 | #define ATAPI_WAIT_PC (60 * HZ) |
350 | 345 | ||
351 | struct ide_atapi_pc { | 346 | struct ide_atapi_pc { |
@@ -358,10 +353,6 @@ struct ide_atapi_pc { | |||
358 | /* bytes to transfer */ | 353 | /* bytes to transfer */ |
359 | int req_xfer; | 354 | int req_xfer; |
360 | 355 | ||
361 | /* data buffer */ | ||
362 | u8 *buf; | ||
363 | int buf_size; | ||
364 | |||
365 | /* the corresponding request */ | 356 | /* the corresponding request */ |
366 | struct request *rq; | 357 | struct request *rq; |
367 | 358 | ||
@@ -371,8 +362,6 @@ struct ide_atapi_pc { | |||
371 | * those are more or less driver-specific and some of them are subject | 362 | * those are more or less driver-specific and some of them are subject |
372 | * to change/removal later. | 363 | * to change/removal later. |
373 | */ | 364 | */ |
374 | u8 pc_buf[IDE_PC_BUFFER_SIZE]; | ||
375 | |||
376 | unsigned long timeout; | 365 | unsigned long timeout; |
377 | }; | 366 | }; |
378 | 367 | ||