summaryrefslogtreecommitdiff
path: root/drivers/ata/libata-eh.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2015-03-03 23:41:22 +0300
committerTejun Heo <tj@kernel.org>2015-03-24 20:50:35 +0300
commitdb7a657f3c2de202e8d648b03bc25bcd9a4de1d8 (patch)
treeebfb9e6b089c345be8a62df1de338f346ece0ee2 /drivers/ata/libata-eh.c
parent8b3444852a2b58129ee68a8dd69fef81ceb902a1 (diff)
downloadlinux-db7a657f3c2de202e8d648b03bc25bcd9a4de1d8.tar.xz
sata_dwc_460ex: re-use hsdev->dev instead of dwc_dev
This patch re-uses hsdev->dev which is allocated on heap. Therefore, the private structure, which is global variable, is reduced by one field. In one case ap->dev is used and there it seems to be right decision. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/libata-eh.c')
0 files changed, 0 insertions, 0 deletions