mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-15 02:05:33 +00:00
Staging: android: binder: Remove an inconsequential conditional macro
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>
This commit is contained in:
parent
efde99cd28
commit
bf20236142
@ -415,13 +415,13 @@ repeat:
|
|||||||
else
|
else
|
||||||
__clear_close_on_exec(fd, fdt);
|
__clear_close_on_exec(fd, fdt);
|
||||||
files->next_fd = fd + 1;
|
files->next_fd = fd + 1;
|
||||||
#if 1
|
|
||||||
/* Sanity check */
|
/* Sanity check */
|
||||||
if (fdt->fd[fd] != NULL) {
|
if (fdt->fd[fd] != NULL) {
|
||||||
pr_warn("get_unused_fd: slot %d not NULL!\n", fd);
|
pr_warn("get_unused_fd: slot %d not NULL!\n", fd);
|
||||||
fdt->fd[fd] = NULL;
|
fdt->fd[fd] = NULL;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
error = fd;
|
error = fd;
|
||||||
|
|
||||||
out:
|
out:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user