summaryrefslogtreecommitdiffstats
path: root/drivers/spmi
diff options
context:
space:
mode:
authorJon Paul Maloy <jon.maloy@ericsson.com>2014-08-23 00:09:12 +0200
committerDavid S. Miller <davem@davemloft.net>2014-08-23 20:18:34 +0200
commit739f5e4efc82c4cb6b5201cbed337b6ff663bf19 (patch)
tree8364fc3cd87910c2aa34b4f6b49ea25e3cf1f720 /drivers/spmi
parenttipc: eliminate port_connect()/port_disconnect() functions (diff)
downloadlinux-739f5e4efc82c4cb6b5201cbed337b6ff663bf19.tar.xz
linux-739f5e4efc82c4cb6b5201cbed337b6ff663bf19.zip
tipc: redefine message acknowledge function
The function tipc_acknowledge() is a remnant from the obsolete native API. Currently, it grabs port_lock, before building an acknowledge message and sending it to the peer. Since all access to socket members now is protected by the socket lock, it has become unnecessary to grab port_lock here. In this commit, we remove the usage of port_lock, simplify the function, and move it to socket.c, renaming it to tipc_sk_send_ack(). Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Reviewed-by: Erik Hugne <erik.hugne@ericsson.com> Reviewed-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/spmi')
0 files changed, 0 insertions, 0 deletions