lkml.org 
[lkml]   [2013]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH] Minor patch for drivers/misc/mei/pci-me.c: Delete stray dev_err() calls.
From
The pci-me.c code contains 2 dev_err() calls which are apparently left
over from debugging; they do not represent actual error conditions.
They do produce messages in a "quiet" kernel, and add ERROR entries to
the logger.

Signed-off-by: "charles anthony" <charles.unix.pro@gmail.com>

Linux 3.10-rc6

--- linux-3.10-rc6/drivers/misc/mei/pci-me.c.orig 2013-06-21
14:30:33.916202629 -0700
+++ linux-3.10-rc6/drivers/misc/mei/pci-me.c 2013-06-21 14:30:59.023519010 -0700
@@ -248,7 +248,6 @@ static void mei_me_remove(struct pci_dev
hw = to_me_hw(dev);


- dev_err(&pdev->dev, "stop\n");
mei_stop(dev);

mei_pdev = NULL;
@@ -281,8 +280,6 @@ static int mei_me_pci_suspend(struct dev
if (!dev)
return -ENODEV;

- dev_err(&pdev->dev, "suspend\n");
-
mei_stop(dev);

mei_disable_interrupts(dev);

\
 
 \ /
  Last update: 2013-06-22 00:01    [W:0.030 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site