diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2019-01-04 02:28:58 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-01-05 00:13:48 +0300 |
commit | 08d405c8b845a4b871fa3606c9ebe0d0f3b74614 (patch) | |
tree | b883ca9334002a327327eda173e7d7beafff785f /fs/afs/fs_probe.c | |
parent | fa45f1162f28cbba6c38180647b7b300f317ecb4 (diff) | |
download | linux-08d405c8b845a4b871fa3606c9ebe0d0f3b74614.tar.xz |
fs/: remove caller signal_pending branch predictions
This is already done for us internally by the signal machinery.
[akpm@linux-foundation.org: fix fs/buffer.c]
Link: http://lkml.kernel.org/r/20181116002713.8474-7-dave@stgolabs.net
Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/afs/fs_probe.c')
-rw-r--r-- | fs/afs/fs_probe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/afs/fs_probe.c b/fs/afs/fs_probe.c index fde6b4d4121e..3a9eaec06756 100644 --- a/fs/afs/fs_probe.c +++ b/fs/afs/fs_probe.c @@ -247,7 +247,7 @@ int afs_wait_for_fs_probes(struct afs_server_list *slist, unsigned long untried) } } - if (!still_probing || unlikely(signal_pending(current))) + if (!still_probing || signal_pending(current)) goto stop; schedule(); } |