staging: cxt1e1: Fix do not use // c99 comments
authorGulsah Kose <gulsah.1004@gmail.com>
Sun, 16 Mar 2014 11:21:06 +0000 (13:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Mar 2014 17:40:26 +0000 (10:40 -0700)
This patch fixes "do not use // C99 comments" errors in linux.c

Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/cxt1e1/linux.c

index 58fe0fe5228ac51cac48c1ae3588c82e82710bf6..7a2ee5e3cdecc0f35794b830eff213b7a908b0ff 100644 (file)
@@ -879,23 +879,18 @@ c4_ioctl(struct net_device *ndev, struct ifreq *ifr, int cmd)
        ret = 0;
        switch (iocmd) {
        case SBE_IOC_PORT_GET:
-               //pr_info(">> SBE_IOC_PORT_GET Ioctl...\n");
                ret = do_get_port(ndev, data);
                break;
        case SBE_IOC_PORT_SET:
-               //pr_info(">> SBE_IOC_PORT_SET Ioctl...\n");
                ret = do_set_port(ndev, data);
                break;
        case SBE_IOC_CHAN_GET:
-               //pr_info(">> SBE_IOC_CHAN_GET Ioctl...\n");
                ret = do_get_chan(ndev, data);
                break;
        case SBE_IOC_CHAN_SET:
-               //pr_info(">> SBE_IOC_CHAN_SET Ioctl...\n");
                ret = do_set_chan(ndev, data);
                break;
        case C4_DEL_CHAN:
-               //pr_info(">> C4_DEL_CHAN Ioctl...\n");
                ret = do_del_chan(ndev, data);
                break;
        case SBE_IOC_CHAN_NEW:
@@ -933,7 +928,6 @@ c4_ioctl(struct net_device *ndev, struct ifreq *ifr, int cmd)
                                return -EFAULT;
                break;
        default:
-               //pr_info(">> c4_ioctl: EINVAL - unknown iocmd <%x>\n", iocmd);
                ret = -EINVAL;
                break;
        }