ata: sata_mv: remove a redundant assignment to pointer ehi
authorColin Ian King <colin.king@canonical.com>
Mon, 16 Oct 2017 11:00:11 +0000 (12:00 +0100)
committerTejun Heo <tj@kernel.org>
Mon, 23 Oct 2017 14:05:56 +0000 (07:05 -0700)
commit14d7045c7f3b0a9d3b00274c23d7d516fc6d44d9
tree159c06b6c392485a80bf367f7757b016541328b6
parentb1314e3f85b36ce1311d7242085f6dd93709c694
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>
drivers/ata/sata_mv.c