diff options
author | 2012-10-31 09:16:47 -0700 | |
---|---|---|
committer | 2012-11-06 20:55:45 -0800 | |
commit | 1f981de55a46777ca0da93af5faf7d3f6e7e7000 (patch) | |
tree | e2e83a261f66d4887b8684134c9cfc1ca57e2a58 /ipc/msgutil.c | |
parent | target: remove ->get_device_rev (diff) | |
download | wireguard-linux-1f981de55a46777ca0da93af5faf7d3f6e7e7000.tar.xz wireguard-linux-1f981de55a46777ca0da93af5faf7d3f6e7e7000.zip |
iscsi-target: Use list_first_entry() where appropriate
Instead of using the obfuscated pattern of
list_for_each_entry(var, list, ...)
break;
to set var to the first entry of a list, use the straightforward
var = list_first_entry(list, ...);
Reported-by: Joern Engel <joern@logfs.org>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'ipc/msgutil.c')
0 files changed, 0 insertions, 0 deletions