Skip to content

Commit 56bd392

Browse files
Charlie Sandsgregkh
authored andcommitted
staging: rts5208: Resolve checkpatch.pl issues.
This patch removes unwanted use of dev_info for ftrace-like functionality as suggested by checkpatch.pl. Signed-off-by: Charlie Sands <sandsch@northvilleschools.net> Link: https://lore.kernel.org/r/YjKimAdiRfRVfGl8@sckzor-linux.localdomain Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 9314a82 commit 56bd392

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

drivers/staging/rts5208/rtsx.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,6 @@ static int command_abort(struct scsi_cmnd *srb)
159159
struct rtsx_dev *dev = host_to_rtsx(host);
160160
struct rtsx_chip *chip = dev->chip;
161161

162-
dev_info(&dev->pci->dev, "%s called\n", __func__);
163-
164162
scsi_lock(host);
165163

166164
/* Is this command still active? */
@@ -186,10 +184,6 @@ static int command_abort(struct scsi_cmnd *srb)
186184
*/
187185
static int device_reset(struct scsi_cmnd *srb)
188186
{
189-
struct rtsx_dev *dev = host_to_rtsx(srb->device->host);
190-
191-
dev_info(&dev->pci->dev, "%s called\n", __func__);
192-
193187
return SUCCESS;
194188
}
195189

@@ -968,8 +962,6 @@ static void rtsx_remove(struct pci_dev *pci)
968962
{
969963
struct rtsx_dev *dev = pci_get_drvdata(pci);
970964

971-
dev_info(&pci->dev, "%s called\n", __func__);
972-
973965
quiesce_and_remove_host(dev);
974966
release_everything(dev);
975967
pci_release_regions(pci);

0 commit comments

Comments
 (0)