Skip to contentSkip to conversation

staging: rts5208: remove unnecessary ftrace-like logging

PATCH New Mitali Borkar 1 participant 1 message Apr 11, 2021 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: rts5208: remove unnecessary ftrace-like logging

Removed unnecessary ftrace-like logging by simply deleting that statement as we have other modes of logging like ftrace.
Reported by checkpatch.

---
 drivers/staging/rts5208/xd.c | 2 --
 1 file changed, 2 deletions(-)
drivers/staging/rts5208/xd.c +0 -2
index 0f369935fb6c..a305e15dfb9c 100644
@@ -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;
Signature · 1 line
2.30.2