aboutsummaryrefslogtreecommitdiff
path: root/include/net/irda/irttp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/irda/irttp.h')
-rw-r--r--include/net/irda/irttp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/irda/irttp.h b/include/net/irda/irttp.h
index 11aee7a2972..98682d4bae8 100644
--- a/include/net/irda/irttp.h
+++ b/include/net/irda/irttp.h
@@ -185,7 +185,7 @@ static inline __u32 irttp_get_max_seg_size(struct tsap_cb *self)
}
/* After doing a irttp_dup(), this get one of the two socket back into
- * a state where it's waiting incomming connections.
+ * a state where it's waiting incoming connections.
* Note : this can be used *only* if the socket is not yet connected
* (i.e. NO irttp_connect_response() done on this socket).
* - Jean II */
@@ -204,7 +204,7 @@ static inline int irttp_is_primary(struct tsap_cb *self)
(self->lsap->lap == NULL) ||
(self->lsap->lap->irlap == NULL))
return -2;
- return(irlap_is_primary(self->lsap->lap->irlap));
+ return irlap_is_primary(self->lsap->lap->irlap);
}
#endif /* IRTTP_H */