ata: rb532_cf: Fix unused variable warning in rb532_pata_driver_probe
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Tue, 6 Aug 2019 08:08:08 +0000 (03:08 -0500)
committerJens Axboe <axboe@kernel.dk>
Tue, 6 Aug 2019 13:44:59 +0000 (07:44 -0600)
commitdb341a049ec7e87053c91008cb452d0bfa6dde72
tree42e619cf1a9dc9673f6248f765fef668a594d037
parent41995342b40c418a47603e1321256d2c4a2ed0fb
ata: rb532_cf: Fix unused variable warning in rb532_pata_driver_probe

Fix the following warning (Building: rb532_defconfig mips):

drivers/ata/pata_rb532_cf.c: In function ‘rb532_pata_driver_remove’:
drivers/ata/pata_rb532_cf.c:161:24: warning: unused variable ‘info’ [-Wunused-variable]
  struct rb532_cf_info *info = ah->private_data;
                        ^~~~

Fixes: cd56f35e52d9 ("ata: rb532_cf: Convert to use GPIO descriptors")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/ata/pata_rb532_cf.c