summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2016-02-11 22:05:38 +0300
committerDoug Ledford <dledford@redhat.com>2016-03-01 01:12:35 +0300
commitf130c2205dba8f02372c794c6c4e6cc4906376f4 (patch)
treeca3b7390ed3896ba3586aeb58b834057b5b7ae4b /net/unix/af_unix.c
parente1dd413ccff7a35c4d8b14781668ed27bae64823 (diff)
downloadlinux-f130c2205dba8f02372c794c6c4e6cc4906376f4.tar.xz
IB/srpt: Simplify channel state management
The only allowed channel state changes are those that change the channel state into a state with a higher numerical value. This allows to merge the functions srpt_set_ch_state() and srpt_test_and_set_ch_state() into a single function. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagig@mellanox.com> Cc: Alex Estrin <alex.estrin@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions