staging: ks7010: remove nonsense comment
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Fri, 6 Apr 2018 12:37:48 +0000 (14:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 12:27:38 +0000 (14:27 +0200)
This commit removes a comment which has nonsense because
it is obvious what the code does just reading SET_NETDEV_DEV
declaration. This also fixes a checkpatch warning because a
line longer than 80 characters.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks7010_sdio.c

index ec2e9bf..2f709ae 100644 (file)
@@ -952,7 +952,7 @@ static int ks7010_sdio_probe(struct sdio_func *func,
        priv = netdev_priv(netdev);
 
        card->priv = priv;
-       SET_NETDEV_DEV(netdev, &card->func->dev);       /* for create sysfs symlinks */
+       SET_NETDEV_DEV(netdev, &card->func->dev);
 
        ks7010_private_init(priv, card, netdev);