OSDN Git Service

staging: ks7010: removed code in comments.
authorArushi Singhal <arushisinghal19971997@gmail.com>
Thu, 9 Mar 2017 16:13:46 +0000 (21:43 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Mar 2017 18:09:09 +0000 (19:09 +0100)
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks7010_sdio.c

index 14580cb..df90c20 100644 (file)
@@ -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,