Lee Jones d463cf4ea4 mmc: rtsx_usb_sdmmc: Remove set but unused variable 'err'
Seeing as sd_wait_data_idle() returns void and only a very specific
read value is checked, there doesn't seem to be a good reason to
check the return value of rtsx_pci_read_register().  So remove
the assignment and definition of 'err'.

Squashes the following W=1 kernel build warning:

 drivers/mmc/host/rtsx_usb_sdmmc.c: In function ‘sd_wait_data_idle’:
 drivers/mmc/host/rtsx_usb_sdmmc.c:657:6: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
 657 | int err, i;
 | ^~~

Cc: Roger Tseng <rogerable@realtek.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20200701124702.908713-11-lee.jones@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2020-07-13 12:18:25 +02:00
..
2020-07-03 16:15:31 +02:00
2020-06-19 13:09:40 -07:00
2020-06-26 12:32:11 -07:00
2020-07-10 09:55:46 -07:00
2020-06-28 14:41:55 +02:00
2020-07-10 08:42:17 -07:00
2020-06-26 17:26:31 +02:00
2020-06-26 23:53:25 +02:00
2020-06-04 11:03:45 -07:00
2020-06-02 15:29:19 -07:00
2020-07-07 21:04:38 +02:00
2020-06-13 13:29:16 -07:00
2020-06-11 12:53:23 -07:00
2020-06-28 01:08:21 +02:00
2020-06-13 13:29:16 -07:00
2020-06-13 13:29:16 -07:00
2020-06-04 19:09:28 +02:00
2020-06-08 13:01:08 -07:00
2020-06-08 13:01:08 -07:00
2020-06-07 16:11:23 -07:00
2020-06-28 14:57:14 -07:00
2020-06-29 10:10:16 -07:00
2020-06-13 13:29:16 -07:00
2020-06-27 13:12:10 -07:00
2020-06-22 12:34:21 -04:00
2020-07-11 11:16:46 -07:00