aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorGao Pan <[email protected]>2016-11-24 19:04:42 +0800
committerMark Brown <[email protected]>2016-11-25 13:04:47 +0000
commit14de3918eacfc624023775c319e85e6597514195 (patch)
tree625f20f1d1031d5ddb1ce6f7a5c4be3ba5c0ecf4 /net/unix/sysctl_net_unix.c
parente3a49390ebefec6f7e3d447b5ba3ba253dd51145 (diff)
spi: imx: replace schedule() with cond_resched()
It's more rational that just do the schedule when necessary other than do it every time. Thus, it's better to replace schedule() with cond_resched() in fsl_lpspi_txfifo_empty(), which contributes to saving cpu time. Signed-off-by: Gao Pan <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions