diff options
Diffstat (limited to 'net/tipc/bearer.h')
| -rw-r--r-- | net/tipc/bearer.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/tipc/bearer.h b/net/tipc/bearer.h index d3eac56b8c21..e3b2be37fb31 100644 --- a/net/tipc/bearer.h +++ b/net/tipc/bearer.h | |||
| @@ -49,7 +49,6 @@ | |||
| 49 | * - media type identifier located at offset 3 | 49 | * - media type identifier located at offset 3 |
| 50 | * - remaining bytes vary according to media type | 50 | * - remaining bytes vary according to media type |
| 51 | */ | 51 | */ |
| 52 | |||
| 53 | #define TIPC_MEDIA_ADDR_SIZE 20 | 52 | #define TIPC_MEDIA_ADDR_SIZE 20 |
| 54 | #define TIPC_MEDIA_TYPE_OFFSET 3 | 53 | #define TIPC_MEDIA_TYPE_OFFSET 3 |
| 55 | 54 | ||
| @@ -64,7 +63,6 @@ | |||
| 64 | * @media_id: TIPC media type identifier | 63 | * @media_id: TIPC media type identifier |
| 65 | * @broadcast: non-zero if address is a broadcast address | 64 | * @broadcast: non-zero if address is a broadcast address |
| 66 | */ | 65 | */ |
| 67 | |||
| 68 | struct tipc_media_addr { | 66 | struct tipc_media_addr { |
| 69 | u8 value[TIPC_MEDIA_ADDR_SIZE]; | 67 | u8 value[TIPC_MEDIA_ADDR_SIZE]; |
| 70 | u8 media_id; | 68 | u8 media_id; |
| @@ -89,7 +87,6 @@ struct tipc_bearer; | |||
| 89 | * @type_id: TIPC media identifier | 87 | * @type_id: TIPC media identifier |
| 90 | * @name: media name | 88 | * @name: media name |
| 91 | */ | 89 | */ |
| 92 | |||
| 93 | struct tipc_media { | 90 | struct tipc_media { |
| 94 | int (*send_msg)(struct sk_buff *buf, | 91 | int (*send_msg)(struct sk_buff *buf, |
| 95 | struct tipc_bearer *b_ptr, | 92 | struct tipc_bearer *b_ptr, |
| @@ -216,7 +213,6 @@ void tipc_bearer_lock_push(struct tipc_bearer *b_ptr); | |||
| 216 | * send routine always returns success -- even if the buffer was not sent -- | 213 | * send routine always returns success -- even if the buffer was not sent -- |
| 217 | * and let TIPC's link code deal with the undelivered message. | 214 | * and let TIPC's link code deal with the undelivered message. |
| 218 | */ | 215 | */ |
| 219 | |||
| 220 | static inline int tipc_bearer_send(struct tipc_bearer *b_ptr, | 216 | static inline int tipc_bearer_send(struct tipc_bearer *b_ptr, |
| 221 | struct sk_buff *buf, | 217 | struct sk_buff *buf, |
| 222 | struct tipc_media_addr *dest) | 218 | struct tipc_media_addr *dest) |
