linux/drivers/staging/rts5208
Arnd Bergmann 58930cced0 staging: rts5208: fix gcc-8 logic error warning
As gcc-8 points out, the bit mask check makes no sense here:

drivers/staging/rts5208/sd.c: In function 'ext_sd_send_cmd_get_rsp':
drivers/staging/rts5208/sd.c:4130:25: error: bitwise comparison always evaluates to true [-Werror=tautological-compare]

However, the code is even more bogus, as we have already
checked for the SD_RSP_TYPE_R0 case earlier in the function
and returned success. As seen in the mmc/sd driver core,
SD_RSP_TYPE_R0 means "no response" anyway, so checking for
a particular response would not help either.

This just removes the nonsensical code to get rid of the
warning.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-09-17 16:35:25 +02:00
..
general.c
general.h
Kconfig
Makefile
ms.c staging: rts5208: Change fixed function names with "%s: ", __func__ 2017-07-30 08:29:31 -07:00
ms.h
rtsx_card.c
rtsx_card.h
rtsx_chip.c staging: rts5208: Change fixed function names with "%s: ", __func__ 2017-07-30 08:29:31 -07:00
rtsx_chip.h
rtsx_scsi.c staging/rts5208: fix incorrect shift to extract upper nybble 2017-08-20 11:08:41 -07:00
rtsx_scsi.h
rtsx_sys.h
rtsx_transport.c staging: rts5208: Remove unnecessary cast on void pointer 2017-03-09 18:50:05 +01:00
rtsx_transport.h
rtsx.c SCSI misc on 20170907 2017-09-07 21:11:05 -07:00
rtsx.h
sd.c staging: rts5208: fix gcc-8 logic error warning 2017-09-17 16:35:25 +02:00
sd.h
spi.c staging: rts5208: Change fixed function names with "%s: ", __func__ 2017-07-30 08:29:31 -07:00
spi.h
TODO
trace.c
trace.h
xd.c staging: rts5208: Change fixed function names with "%s: ", __func__ 2017-07-30 08:29:31 -07:00
xd.h