staging: wilc1000: host_int_init: remove meaningless comment
authorChaehyun Lim <chaehyun.lim@gmail.com>
Tue, 22 Sep 2015 09:34:54 +0000 (18:34 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 00:29:51 +0000 (02:29 +0200)
This patch removes meaningless comment in host_int_init function.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c

index 96d7f72d46f18d7bb99c6ee75591aa5e7230e90d..e7b3af3ef468d30ce69ed5b22609a5505fe5d630 100644 (file)
@@ -6380,9 +6380,7 @@ s32 host_int_init(tstrWILC_WFIDrv **phWFIDrv)
                goto _fail_timer_2;
        }
        memset(pstrWFIDrv, 0, sizeof(tstrWILC_WFIDrv));
-       /*return driver handle to user*/
        *phWFIDrv = pstrWFIDrv;
-       /*save into globl handle*/
        err = add_handler_in_list(pstrWFIDrv);
        if (err) {
                s32Error = -EFAULT;
@@ -6395,7 +6393,6 @@ s32 host_int_init(tstrWILC_WFIDrv **phWFIDrv)
        #endif
 
        PRINT_D(HOSTINF_DBG, "Global handle pointer value=%p\n", pstrWFIDrv);
-       /* /////////////////////////////////////// */
        if (clients_count == 0) {
                sema_init(&hSemHostIFthrdEnd, 0);
                sema_init(&hSemDeinitDrvHandle, 0);
@@ -6409,7 +6406,6 @@ s32 host_int_init(tstrWILC_WFIDrv **phWFIDrv)
        sema_init(&(pstrWFIDrv->hSemGetCHNL), 0);
        sema_init(&(pstrWFIDrv->hSemInactiveTime), 0);
 
-       /* /////////////////////////////////////// */
 
 
 
@@ -6466,8 +6462,6 @@ s32 host_int_init(tstrWILC_WFIDrv **phWFIDrv)
 
        up(&(pstrWFIDrv->gtOsCfgValuesSem));
 
-       /*TODO Code to setup simulation to be removed later*/
-
        clients_count++; /* increase number of created entities */
 
        return s32Error;