commit | 8c2362a62dbd58bd9876c36250ef3608403f5932 | [log] [tgz] |
---|---|---|
author | Paul Sokolovsky <paul.sokolovsky@linaro.org> | Tue May 08 23:26:21 2018 +0300 |
committer | Anas Nashif <nashif@linux.intel.com> | Thu May 10 16:23:53 2018 -0700 |
tree | 41267e9201601664c1d81acbe022b818c5c02891 | |
parent | 42a2c96422cbeb46f27074960b0898d06658fdcd [diff] |
net: ip: context: Merge send_data() into the only caller sendto() is one and only caller of send_data(), a function of handful of lines, and yet send_data() is located a hundred lines away from it. Such "spaghetti functions" complicate review, debugging, and refactoring of the IP stack. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>