diff options
author | Gimcuan Hui <gimcuan@gmail.com> | 2017-11-11 05:52:54 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-18 16:47:27 +0100 |
commit | 93ead7c9483c6d7ae0f67ae6d0a5d3966d84bec8 (patch) | |
tree | aa5df925bfd023273f4d5de96dfbb20cd405239f /fs/sysfs | |
parent | 73cf7e111ed69d8e1b59a3ae41b14bc77215e9ee (diff) | |
download | linux-93ead7c9483c6d7ae0f67ae6d0a5d3966d84bec8.tar.gz linux-93ead7c9483c6d7ae0f67ae6d0a5d3966d84bec8.tar.bz2 linux-93ead7c9483c6d7ae0f67ae6d0a5d3966d84bec8.zip |
drivers: base: omit redundant interations
When error happens, these interators return the error, no interation should
be continued, so make the change for getting out of while immediately.
Signed-off-by: Gimcuan Hui <gimcuan@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/sysfs')
0 files changed, 0 insertions, 0 deletions