]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: android: binder: Remove an inconsequential conditional macro
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 17 Aug 2012 11:09:37 +0000 (16:39 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Aug 2012 16:46:52 +0000 (09:46 -0700)
Removes an inconsequential conditional macro.

Cc: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/binder.c

index 668bec7213d54f4d871e541951924a07315a09dd..a807129c7b5a93979e8dc52de5d167d98a327940 100644 (file)
@@ -415,13 +415,13 @@ repeat:
        else
                __clear_close_on_exec(fd, fdt);
        files->next_fd = fd + 1;
-#if 1
+
        /* Sanity check */
        if (fdt->fd[fd] != NULL) {
                pr_warn("get_unused_fd: slot %d not NULL!\n", fd);
                fdt->fd[fd] = NULL;
        }
-#endif
+
        error = fd;
 
 out: