summaryrefslogtreecommitdiff
path: root/net/core/iovec.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-02-26 11:01:43 (GMT)
committerJens Axboe <axboe@fb.com>2014-03-13 20:56:38 (GMT)
commit9c552e1ddd3658944787d75d90a42e1a2b74b7ea (patch)
tree98601202f1367d58ec6a345fa24760fc8116e40f /net/core/iovec.c
parentc94efe36e283f2837dd4a21eab4b3f8492e3f325 (diff)
downloadlinux-9c552e1ddd3658944787d75d90a42e1a2b74b7ea.tar.xz
DAC960: remove sleep_on usage
sleep_on and its variants are going away. The use of sleep_on() in DAC960_V2_ExecuteUserCommand seems to be bogus because the command by the time we get there, the command has completed already and we just enter the timeout. Based on this interpretation, I concluded that we can replace it with a simple msleep(1000) and rearrange the code around it slightly. The interruptible_sleep_on_timeout in DAC960_gam_ioctl seems equivalent to the race-free version using wait_event_interruptible_timeout. I left the driver to return -EINTR rather than -ERESTARTSYS to preserve the timeout behavior. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Jens Axboe <axboe@kernel.dk> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'net/core/iovec.c')
0 files changed, 0 insertions, 0 deletions