Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1596179
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Arushi Singhal <arushisinghal19971997@gmail.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH] staging: ks7010: removed code in comments. |
| Date | Thu, 09 Mar 2017 17:20:01 +0100 |
| Message-ID | <tj8Xf-7Er-15@gated-at.bofh.it> (permalink) |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=Utd5QWHA7+6+4g3RD0Y8lpPk6bY0tQiTFGhm0ji1Xwc=; b=K0gNCUT5Y4B04Y1m9B8OGRUFej8SwQdVSzYDkQkMBkKg24Qw2OgAKrpz+YnfPGF8BO N8uYpRxH7q5BQwVcnTZsrIv+n02L2SMdb4cZqwtQf5xxDFAU62XafgzRNKxvUOa7dS7X TPfYBdGn91SogLkLhjRW401V2FUcpGwStahNyx7PhR8k5/bW55mvg8tB6N5WqD9KBICt lgCLAxl5VuRt8GL0+anwSsalsPp7huriu60JxYtNBIpjQtRKPRPewdKbbGo1FROp8Qn5 hsOpkBoHzhSunpnmdSZm/m7xM65JpdCMoDExMKqSSbXCVdCbuo6a767NCqBSVXRMV4Gc Xfww== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=Utd5QWHA7+6+4g3RD0Y8lpPk6bY0tQiTFGhm0ji1Xwc=; b=bFM+uDPj8o7HHhVtgnQVZU4y93MfBoBY5H2P1QydHkI2ALLNRZUmqVKCWFhs18IhcG od5rWPYRdiFttqydIkY5QX7G1JREGFeLL+LqjwH1tx24FyepGbljmE7zqyXIUzXYHuV4 vU4WqpGR85GFqOPpCmXc2+/Yf8Xksw21Z6BR8vQb2U3t231X0NKP67mD0zWavc+Xwd93 7H+tbmJ1Ym5gXZ6ZJT9QLSFhnMLqcoTu441vgMg71xHj5j5Ie6k9mOnXDkCk5ql6+p0/ /y8ocud0/eStxSZcsvGsAEYEhJ0ad786mRcC5AqUr41mXCvb9MPS5AwEH7Xw5vTfBNUC Wk5w== |
| X-Gm-Message-State | AMke39nBFaCWymaBWcUZ7eykMpRww4/y+cCLn5tRZuc958gs7ixOFrgpaPtX6y41NYmHJg== |
| X-Received | by 10.84.176.100 with SMTP id u91mr18560890plb.112.1489076030631; Thu, 09 Mar 2017 08:13:50 -0800 (PST) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | Mutt/1.5.21 (2010-09-15) |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 26 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, outreachy-kernel@googlegroups.com |
| X-Original-Date | Thu, 9 Mar 2017 21:43:46 +0530 |
| X-Original-Message-ID | <20170309161346.GA18978@arushi-HP-Pavilion-Notebook> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1596179 |
Show key headers only | View raw
Commenting Code Is a Bad Idea.
Comments are their to explain the code and how the code achieves its
goal and as codes in the comments does not explain what the code is
doing so there is no use of commenting them.
So in this patch codes in the comments are removed.
Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
---
drivers/staging/ks7010/ks7010_sdio.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c
index 14580cb4c755..df90c20fcb69 100644
--- a/drivers/staging/ks7010/ks7010_sdio.c
+++ b/drivers/staging/ks7010/ks7010_sdio.c
@@ -478,8 +478,6 @@ static void ks7010_rw_function(struct work_struct *work)
/* wiat after WAKEUP */
while (time_after(priv->last_wakeup + ((30 * HZ) / 1000), jiffies)) {
DPRINTK(4, "wait after WAKEUP\n");
-/* queue_delayed_work(priv->ks_wlan_hw.ks7010sdio_wq,&priv->ks_wlan_hw.rw_wq,
- (priv->last_wakeup + ((30*HZ)/1000) - jiffies));*/
dev_info(&priv->ks_wlan_hw.sdio_card->func->dev,
"wake: %lu %lu\n",
priv->last_wakeup + (30 * HZ) / 1000,
--
2.11.0
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH] staging: ks7010: removed code in comments. Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-09 17:20 +0100
csiph-web