commit | 82eabd9eb2ec1603282a2c3f74dfcb6fe0aaea0e | [log] [tgz] |
---|---|---|
author | Alexander Duyck <alexander.h.duyck@intel.com> | Thu Sep 04 13:32:11 2014 -0400 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 05 17:43:45 2014 -0700 |
tree | 3f1064b6b501005f741bacc74e9ed370c2ffb996 | |
parent | 62bccb8cdb69051b95a55ab0c489e3cab261c8ef [diff] |
net: merge cases where sock_efree and sock_edemux are the same function Since sock_efree and sock_demux are essentially the same code for non-TCP sockets and the case where CONFIG_INET is not defined we can combine the code or replace the call to sock_edemux in several spots. As a result we can avoid a bit of unnecessary code or code duplication. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>