mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
make get_file() return its argument
simplifies a bunch of callers... Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
cecb46f194
commit
cb0942b812
16 changed files with 23 additions and 38 deletions
|
|
@ -301,8 +301,7 @@ void scm_detach_fds_compat(struct msghdr *kmsg, struct scm_cookie *scm)
|
|||
break;
|
||||
}
|
||||
/* Bump the usage count and install the file. */
|
||||
get_file(fp[i]);
|
||||
fd_install(new_fd, fp[i]);
|
||||
fd_install(new_fd, get_file(fp[i]));
|
||||
}
|
||||
|
||||
if (i > 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue