diff options
author | Johan Hovold <johan@hovoldconsulting.com> | 2016-04-29 17:08:37 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-04-29 14:27:05 -0700 |
commit | 7adb32b429ce38bae39e277ae2cc37c93770104f (patch) | |
tree | a9a1790410ec4724728a11aa4f87abf552270b96 /drivers/staging/greybus/operation.h | |
parent | a2cf2e594626ce8c1e6944f6a44a7d481b84b82d (diff) |
greybus: operation: fix definition of the invalid type
The invalid request type has been redefined as 0x7f.
Also remove the redundant redefinition of the invalid type from the
operation header.
Note that operation type 0x00 has been repurposed for the new generic
ping operation, which will be used to implement proper connection tear
down.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/operation.h')
-rw-r--r-- | drivers/staging/greybus/operation.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/greybus/operation.h b/drivers/staging/greybus/operation.h index 8ef8f514dafa..117d7df2e0bd 100644 --- a/drivers/staging/greybus/operation.h +++ b/drivers/staging/greybus/operation.h @@ -18,12 +18,6 @@ struct gb_operation; #define GB_OPERATION_TIMEOUT_DEFAULT 1000 /* milliseconds */ /* - * No protocol may define an operation that has numeric value 0x00. - * It is reserved as an explicitly invalid value. - */ -#define GB_OPERATION_TYPE_INVALID ((u8)0x00) - -/* * The top bit of the type in an operation message header indicates * whether the message is a request (bit clear) or response (bit set) */ |