lkml.org 
[lkml]   [2017]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v3] staging: ks7010: Fix coding style and remove checkpatch.pl warnings.
Date
Removed printk statements for debugging. The same information can be
acquired via ftrace, so these print statements are uneccessary.

Signed-off-by: Jonathan Whitaker <jon.b.whitaker@gmail.com>

---
Changes in v2:
- Wrapped the changelog text to 72 columns.
- Fixed the commit subject to be more clear.

Changes in v3:
- Removed the printk statements altogether. This information is available
via ftrace.
- Updated commit message.
---
drivers/staging/ks7010/ks7010_sdio.c | 4 ----
1 file changed, 4 deletions(-)

diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c
index 9b28ee1..8cfdff1 100644
--- a/drivers/staging/ks7010/ks7010_sdio.c
+++ b/drivers/staging/ks7010/ks7010_sdio.c
@@ -834,8 +834,6 @@ static int ks7010_sdio_probe(struct sdio_func *func,
unsigned char byte;
int ret;

- DPRINTK(5, "ks7010_sdio_probe()\n");
-
priv = NULL;
netdev = NULL;

@@ -1008,8 +1006,6 @@ static void ks7010_sdio_remove(struct sdio_func *func)
struct ks_sdio_card *card;
struct ks_wlan_private *priv;

- DPRINTK(1, "ks7010_sdio_remove()\n");
-
card = sdio_get_drvdata(func);

if (!card)
--
2.7.4
\
 
 \ /
  Last update: 2017-08-31 06:26    [W:0.050 / U:3.652 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site