commit | 98949a1946d70771789def0c9dbc239497f9f138 | [log] [tgz] |
---|---|---|
author | Wang Hai <wanghai38@huawei.com> | Sat Oct 26 09:57:38 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 20 13:38:26 2020 +0100 |
tree | e13addc4d6b8e74e3ee3809976a3377a8852daac | |
parent | 77df3500a75d946b3f60112a5207900e29e13b68 [diff] |
ide: remove set but not used variable 'hwif' Fix the following gcc warning: drivers/ide/pmac.c: In function pmac_ide_setup_device: drivers/ide/pmac.c:1027:14: warning: variable hwif set but not used [-Wunused-but-set-variable] Fixes: d58b0c39e32f ("powerpc/macio: Rework hotplug media bay support") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wang Hai <wanghai38@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>