summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rts5208/rtsx_card.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-06-18 16:38:02 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-28 22:10:47 +0900
commitc238d7b1e5fd6416458d7a7295a6d20ab56a3baa (patch)
tree17b618496ff26c426166666a29357edd9dd96070 /drivers/staging/rts5208/rtsx_card.h
parent5c6a5eb3aa86ecde00fe45410fc384363ee9bc92 (diff)
downloadlinux-c238d7b1e5fd6416458d7a7295a6d20ab56a3baa.tar.bz2
staging: rtsx: remove rtsx_trace() and related code
The driver has rather excessive amount of tracing code, which would be better done using ftrace. This is obviously not a main feature of the driver, and it should work just as well without it. Removing it saves over 1300 lines of code and likely makes the driver a bit faster by avoiding lots of calls into the timekeeping code. I came across this while cleaning up the last users of the deprecated getnstimeofday64() function, of which there is one in the now-removed get_current_time() function of the rtsx driver that was only used for tracing. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rts5208/rtsx_card.h')
-rw-r--r--drivers/staging/rts5208/rtsx_card.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/rts5208/rtsx_card.h b/drivers/staging/rts5208/rtsx_card.h
index aa37705bae39..ac165d8a081c 100644
--- a/drivers/staging/rts5208/rtsx_card.h
+++ b/drivers/staging/rts5208/rtsx_card.h
@@ -1063,7 +1063,6 @@ static inline int card_power_off_all(struct rtsx_chip *chip)
retval = rtsx_write_register(chip, CARD_PWR_CTL, 0x0F, 0x0F);
if (retval) {
- rtsx_trace(chip);
return retval;
}