diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-03-03 22:41:22 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2015-03-24 13:50:35 -0400 |
commit | db7a657f3c2de202e8d648b03bc25bcd9a4de1d8 (patch) | |
tree | ebfb9e6b089c345be8a62df1de338f346ece0ee2 /arch/x86 | |
parent | 8b3444852a2b58129ee68a8dd69fef81ceb902a1 (diff) | |
download | linux-db7a657f3c2de202e8d648b03bc25bcd9a4de1d8.tar.bz2 |
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 'arch/x86')
0 files changed, 0 insertions, 0 deletions