diff options
author | Borislav Petkov <petkovbb@gmail.com> | 2009-05-04 09:53:03 +0200 |
---|---|---|
committer | Borislav Petkov <petkovbb@gmail.com> | 2009-05-15 06:44:38 +0200 |
commit | 19f52a784f7ecb5b51cd73cc4514614b600b995a (patch) | |
tree | 3dcc0d4aa96ed7ed65be8936c81458bb0b22f568 /include/linux/ide.h | |
parent | 55ce3a129ea2e8faba4a11bb5dbc305590d1c20c (diff) | |
download | kernel_samsung_espresso10-19f52a784f7ecb5b51cd73cc4514614b600b995a.zip kernel_samsung_espresso10-19f52a784f7ecb5b51cd73cc4514614b600b995a.tar.gz kernel_samsung_espresso10-19f52a784f7ecb5b51cd73cc4514614b600b995a.tar.bz2 |
ide-atapi: remove pc->buf
Now after all users of pc->buf have been converted, remove the 64B buffer
embedded in each packet command.
There should be no functional change resulting from this patch.
Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
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 4cd7157..59aedcd 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h @@ -341,11 +341,6 @@ enum { PC_FLAG_WRITING = (1 << 6), }; -/* - * With each packet command, we allocate a buffer of IDE_PC_BUFFER_SIZE bytes. - * This is used for several packet commands (not for READ/WRITE commands). - */ -#define IDE_PC_BUFFER_SIZE 64 #define ATAPI_WAIT_PC (60 * HZ) struct ide_atapi_pc { @@ -358,10 +353,6 @@ struct ide_atapi_pc { /* bytes to transfer */ int req_xfer; - /* data buffer */ - u8 *buf; - int buf_size; - /* the corresponding request */ struct request *rq; @@ -371,8 +362,6 @@ struct ide_atapi_pc { * those are more or less driver-specific and some of them are subject * to change/removal later. */ - u8 pc_buf[IDE_PC_BUFFER_SIZE]; - unsigned long timeout; }; |