forked from Minki/linux
irda: replace __inline with inline
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
dfec72285e
commit
4eb329a5aa
@ -169,17 +169,17 @@ int irttp_disconnect_request(struct tsap_cb *self, struct sk_buff *skb,
|
|||||||
void irttp_flow_request(struct tsap_cb *self, LOCAL_FLOW flow);
|
void irttp_flow_request(struct tsap_cb *self, LOCAL_FLOW flow);
|
||||||
struct tsap_cb *irttp_dup(struct tsap_cb *self, void *instance);
|
struct tsap_cb *irttp_dup(struct tsap_cb *self, void *instance);
|
||||||
|
|
||||||
static __inline __u32 irttp_get_saddr(struct tsap_cb *self)
|
static inline __u32 irttp_get_saddr(struct tsap_cb *self)
|
||||||
{
|
{
|
||||||
return irlmp_get_saddr(self->lsap);
|
return irlmp_get_saddr(self->lsap);
|
||||||
}
|
}
|
||||||
|
|
||||||
static __inline __u32 irttp_get_daddr(struct tsap_cb *self)
|
static inline __u32 irttp_get_daddr(struct tsap_cb *self)
|
||||||
{
|
{
|
||||||
return irlmp_get_daddr(self->lsap);
|
return irlmp_get_daddr(self->lsap);
|
||||||
}
|
}
|
||||||
|
|
||||||
static __inline __u32 irttp_get_max_seg_size(struct tsap_cb *self)
|
static inline __u32 irttp_get_max_seg_size(struct tsap_cb *self)
|
||||||
{
|
{
|
||||||
return self->max_seg_size;
|
return self->max_seg_size;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user