]> Git Repo - linux.git/commitdiff
staging: rts5208: Resolve checkpatch.pl issues.
authorCharlie Sands <[email protected]>
Thu, 17 Mar 2022 02:53:12 +0000 (22:53 -0400)
committerGreg Kroah-Hartman <[email protected]>
Fri, 18 Mar 2022 12:44:02 +0000 (13:44 +0100)
This patch removes unwanted use of dev_info for ftrace-like functionality
as suggested by checkpatch.pl.

Signed-off-by: Charlie Sands <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/staging/rts5208/rtsx.c

index 5a58dac76c88f164b56f11533fee050c9041fb6c..2284a96abcff03280ae649783e82d69328ec1e07 100644 (file)
@@ -159,8 +159,6 @@ static int command_abort(struct scsi_cmnd *srb)
        struct rtsx_dev *dev = host_to_rtsx(host);
        struct rtsx_chip *chip = dev->chip;
 
-       dev_info(&dev->pci->dev, "%s called\n", __func__);
-
        scsi_lock(host);
 
        /* Is this command still active? */
@@ -186,10 +184,6 @@ static int command_abort(struct scsi_cmnd *srb)
  */
 static int device_reset(struct scsi_cmnd *srb)
 {
-       struct rtsx_dev *dev = host_to_rtsx(srb->device->host);
-
-       dev_info(&dev->pci->dev, "%s called\n", __func__);
-
        return SUCCESS;
 }
 
@@ -968,8 +962,6 @@ static void rtsx_remove(struct pci_dev *pci)
 {
        struct rtsx_dev *dev = pci_get_drvdata(pci);
 
-       dev_info(&pci->dev, "%s called\n", __func__);
-
        quiesce_and_remove_host(dev);
        release_everything(dev);
        pci_release_regions(pci);
This page took 0.057097 seconds and 4 git commands to generate.