diff options
author | Max Kellermann <max.kellermann@ionos.com> | 2023-09-21 09:57:53 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-10-19 11:02:47 +0200 |
commit | b4bd6b4bac8edd61eb8f7b836969d12c0c6af165 (patch) | |
tree | 0d90cd9611fc84b62b822d09a3ebbd2eb0f00f7c /drivers/platform | |
parent | 61105aab4edb59bf8177f005eb2923fe5c4deb3c (diff) |
fs/pipe: move check to pipe_has_watch_queue()
This declutters the code by reducing the number of #ifdefs and makes
the watch_queue checks simpler. This has no runtime effect; the
machine code is identical.
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
Message-Id: <20230921075755.1378787-2-max.kellermann@ionos.com>
Reviewed-by: David Howells <dhowells@redhat.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions