staging: gasket: core: remove incorrect extraneous comment
authorTodd Poynor <toddpoynor@google.com>
Sun, 5 Aug 2018 20:07:49 +0000 (13:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Aug 2018 09:20:08 +0000 (11:20 +0200)
A copy-and-pasted comment from another code sequence is removed from
gasket core init sequence.

Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gasket/gasket_core.c

index a6462b6d702f1d2ccf81a39c03404257bf266e8a..d12ab560411f704bd6f42c4094392ea7522f91d7 100644 (file)
@@ -1792,7 +1792,6 @@ static int __init gasket_init(void)
        int i;
 
        pr_debug("%s\n", __func__);
-       /* Check for duplicates and find a free slot. */
        mutex_lock(&g_mutex);
        for (i = 0; i < GASKET_FRAMEWORK_DESC_MAX; i++) {
                g_descs[i].driver_desc = NULL;