The patch titled Subject: memstick: remove unused field from state struct has been added to the -mm tree. Its filename is memstick-remove-unused-field-from-state-struct.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Maxim Levitsky <maximlevitsky@xxxxxxxxx> Subject: memstick: remove unused field from state struct Oops, I forgot that I have thet field there already. Just save memory by not allocating it. Signed-off-by: Maxim Levitsky <maximlevitsky@xxxxxxxxx> Cc: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> Cc: Alex Dubov <oakad@xxxxxxxxx> Cc: Jens Axboe <axboe@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/memstick/core/ms_block.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -puN drivers/memstick/core/ms_block.h~memstick-remove-unused-field-from-state-struct drivers/memstick/core/ms_block.h --- a/drivers/memstick/core/ms_block.h~memstick-remove-unused-field-from-state-struct +++ a/drivers/memstick/core/ms_block.h @@ -162,7 +162,6 @@ struct msb_data { struct workqueue_struct *io_queue; bool io_queue_stopped; struct work_struct io_work; - struct scatterlist prealloc_sg[MS_BLOCK_MAX_SEGS+1]; bool card_dead; /* Media properties */ @@ -194,7 +193,7 @@ struct msb_data { /* Preallocated buffers */ unsigned char *block_buffer; - struct scatterlist sg[MS_BLOCK_MAX_SEGS+1]; + struct scatterlist prealloc_sg[MS_BLOCK_MAX_SEGS+1]; /* handler's local data */ _ Patches currently in -mm which might be from maximlevitsky@xxxxxxxxx are origin.patch linux-next.patch memstick-remove-unused-field-from-state-struct.patch memstick-ms_block-fix-complile-issue.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html