aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorJean Delvare <[email protected]>2011-08-31 11:53:41 -0400
committerGuenter Roeck <[email protected]>2011-09-06 08:56:07 -0700
commitf020b007d5dd24597f5e985a6309bcb8393797ed (patch)
tree17d7db505904c9cb57c79e586d31eb79376dd9b6 /net/lapb/lapb_subr.c
parentd91aae1e52e5289a94f4ddff968decfc8d37271e (diff)
hwmon: (ucd9000/ucd9200) Optimize array walk
Rewrite the loop walking the id array during probe. The new code is better adapted to a null-terminated array, and is also clearer and more efficient than the original. Signed-off-by: Jean Delvare <[email protected]> Cc: Axel Lin <[email protected]> Cc: Guenter Roeck <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions