diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-10-16 12:00:11 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-10-23 07:05:56 -0700 |
commit | 14d7045c7f3b0a9d3b00274c23d7d516fc6d44d9 (patch) | |
tree | 159c06b6c392485a80bf367f7757b016541328b6 /drivers/ata/libata-eh.c | |
parent | b1314e3f85b36ce1311d7242085f6dd93709c694 (diff) | |
download | lwn-14d7045c7f3b0a9d3b00274c23d7d516fc6d44d9.tar.gz lwn-14d7045c7f3b0a9d3b00274c23d7d516fc6d44d9.zip |
ata: sata_mv: remove a redundant assignment to pointer ehi
The pointer ehi is being assigned to a value that is never read
and is redundant. Clean up the code and move the ehi declaration
and initialization to the code block where it is used. Cleans up
clang warning: Value stored to 'ehi' is never read
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/libata-eh.c')
0 files changed, 0 insertions, 0 deletions