diff options
author | Björn Gustavsson <[email protected]> | 2011-05-06 11:58:03 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-05-06 12:05:05 +0200 |
commit | 4aeb38abc1d9162b98a3ba4346ebdabad8532da6 (patch) | |
tree | 57124e3da238abea46a2c6ff4b2a7a8526538bf9 /erts/emulator/beam/utils.c | |
parent | 963843aad736997a66db8f8fdec6b3099373b742 (diff) | |
download | otp-4aeb38abc1d9162b98a3ba4346ebdabad8532da6.tar.gz otp-4aeb38abc1d9162b98a3ba4346ebdabad8532da6.tar.bz2 otp-4aeb38abc1d9162b98a3ba4346ebdabad8532da6.zip |
io.c: Make io_list_vec_len() less general
io_list_vec_len() is slightly more general than it needs to be.
Specifically:
* The only caller always passes ERL_SMALL_IO_BIN_LIMIT as the
value for the bin_limit parameter, so the bin_limit parameter
can be eliminated.
* The only caller never passes any NULL pointers, so there is
no need test the pointers before writing through them.
Diffstat (limited to 'erts/emulator/beam/utils.c')
0 files changed, 0 insertions, 0 deletions