Skip to content

Commit

Permalink
Staging: android: binder: Remove an inconsequential conditional macro
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sachin Kamat authored and Greg Kroah-Hartman committed Aug 17, 2012
1 parent efde99c commit bf20236
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/android/binder.c
Original file line number Diff line number Diff line change
Expand Up @@ -415,13 +415,13 @@ static int task_get_unused_fd_flags(struct binder_proc *proc, int flags)
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:
Expand Down

0 comments on commit bf20236

Please sign in to comment.