diff options
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/sg.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c index 2c30331abbed..ccce31a400ea 100644 --- a/drivers/scsi/sg.c +++ b/drivers/scsi/sg.c | |||
@@ -116,7 +116,6 @@ typedef struct sg_scatter_hold { /* holding area for scsi scatter gather info */ | |||
116 | unsigned short k_use_sg; /* Count of kernel scatter-gather pieces */ | 116 | unsigned short k_use_sg; /* Count of kernel scatter-gather pieces */ |
117 | unsigned sglist_len; /* size of malloc'd scatter-gather list ++ */ | 117 | unsigned sglist_len; /* size of malloc'd scatter-gather list ++ */ |
118 | unsigned bufflen; /* Size of (aggregate) data buffer */ | 118 | unsigned bufflen; /* Size of (aggregate) data buffer */ |
119 | unsigned b_malloc_len; /* actual len malloc'ed in buffer */ | ||
120 | struct page **pages; | 119 | struct page **pages; |
121 | int page_order; | 120 | int page_order; |
122 | char dio_in_use; /* 0->indirect IO (or mmap), 1->dio */ | 121 | char dio_in_use; /* 0->indirect IO (or mmap), 1->dio */ |
@@ -1986,7 +1985,6 @@ sg_link_reserve(Sg_fd * sfp, Sg_request * srp, int size) | |||
1986 | req_schp->pages = rsv_schp->pages; | 1985 | req_schp->pages = rsv_schp->pages; |
1987 | 1986 | ||
1988 | req_schp->bufflen = size; | 1987 | req_schp->bufflen = size; |
1989 | req_schp->b_malloc_len = rsv_schp->b_malloc_len; | ||
1990 | req_schp->page_order = rsv_schp->page_order; | 1988 | req_schp->page_order = rsv_schp->page_order; |
1991 | break; | 1989 | break; |
1992 | } else | 1990 | } else |