]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Convert call flag and event numbers into enums
authorDavid Howells <dhowells@redhat.com>
Fri, 4 Mar 2016 15:53:46 +0000 (15:53 +0000)
committerDavid Howells <dhowells@redhat.com>
Fri, 4 Mar 2016 15:53:46 +0000 (15:53 +0000)
commit1c9f81d19e130fd85a18babbdcc2e2e6880ddb1b
treea6c02244f92ba6fa0120576001c98e66300a867b
parentb5cb5c550b77122b79b28070b20f2cbafa5d16af
rxrpc: Convert call flag and event numbers into enums

Convert call flag and event numbers into enums and move their definitions
outside of the struct.

Also move the call state enum outside of the struct and add an extra
element to count the number of states.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/ar-ack.c
net/rxrpc/ar-call.c
net/rxrpc/ar-internal.h