diff options
author | Christoph Hellwig <hch@lst.de> | 2018-12-12 08:41:19 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-01-08 21:57:42 -0500 |
commit | 8d22022c3a56314b182810794cae47686b765313 (patch) | |
tree | 7ee0ab62e3525d48b920f24041b8bfd731da74f7 /drivers/scsi/gdth.c | |
parent | 9f475ebff8e437ccccb3cf0259b5de7540f413be (diff) |
scsi: gdth: reuse dma coherent allocation in gdth_show_info
gdth_show_info currently allocs and frees a dma buffer four times which
isn't very efficient. Reuse a single allocation instead.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/gdth.c')
0 files changed, 0 insertions, 0 deletions