summaryrefslogtreecommitdiff
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/irda/irttp.h b/include/net/irda/irttp.h
index 11aee7a2972a..af4b87721d13 100644
--- a/include/net/irda/irttp.h
+++ b/include/net/irda/irttp.h
@@ -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 */