staging: rts5208: remove unnecessary ftrace-like logging
authorMitali Borkar <mitaliborkar810@gmail.com>
Sun, 11 Apr 2021 17:33:23 +0000 (23:03 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Apr 2021 09:40:13 +0000 (11:40 +0200)
Removed unnecessary ftrace-like logging by simply deleting that statement
as we have other modes of logging like ftrace.
Reported by checkpatch.

Signed-off-by: Mitali Borkar <mitaliborkar810@gmail.com>
Link: https://lore.kernel.org/r/YHMy457UGosfeaC0@kali
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/xd.c

index 0f36993..a305e15 100644 (file)
@@ -1628,7 +1628,6 @@ static int xd_finish_write(struct rtsx_chip *chip,
        int retval, zone_no;
        u16 log_off;
 
-       dev_dbg(rtsx_dev(chip), "%s ", __func__);
        dev_dbg(rtsx_dev(chip), "old_blk = 0x%x, ", old_blk);
        dev_dbg(rtsx_dev(chip), "new_blk = 0x%x, ", new_blk);
        dev_dbg(rtsx_dev(chip), "log_blk = 0x%x\n", log_blk);
@@ -1806,7 +1805,6 @@ int xd_delay_write(struct rtsx_chip *chip)
        int retval;
 
        if (delay_write->delay_write_flag) {
-               dev_dbg(rtsx_dev(chip), "%s\n", __func__);
                retval = xd_switch_clock(chip);
                if (retval != STATUS_SUCCESS)
                        return STATUS_FAIL;