This patch replaces __inline with inline. plain inline is more preferred than __inline. Signed-off-by: Chaehyun Lim <chaehyun.lim@xxxxxxxxx> --- drivers/staging/wilc1000/wilc_wlan.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index a3e6973..d27ef47 100644 --- a/drivers/staging/wilc1000/wilc_wlan.c +++ b/drivers/staging/wilc1000/wilc_wlan.c @@ -317,13 +317,13 @@ u32 Pending_Acks; -static __inline int Init_TCP_tracking(void) +static inline int Init_TCP_tracking(void) { return 0; } -static __inline int add_TCP_track_session(u32 src_prt, u32 dst_prt, u32 seq) +static inline int add_TCP_track_session(u32 src_prt, u32 dst_prt, u32 seq) { Acks_keep_track_info[Opened_TCP_session].Ack_seq_num = seq; Acks_keep_track_info[Opened_TCP_session].Bigger_Ack_num = 0; @@ -335,7 +335,7 @@ static __inline int add_TCP_track_session(u32 src_prt, u32 dst_prt, u32 seq) return 0; } -static __inline int Update_TCP_track_session(u32 index, u32 Ack) +static inline int Update_TCP_track_session(u32 index, u32 Ack) { if (Ack > Acks_keep_track_info[index].Bigger_Ack_num) { @@ -344,7 +344,7 @@ static __inline int Update_TCP_track_session(u32 index, u32 Ack) return 0; } -static __inline int add_TCP_Pending_Ack(u32 Ack, u32 Session_index, struct txq_entry_t *txqe) +static inline int add_TCP_Pending_Ack(u32 Ack, u32 Session_index, struct txq_entry_t *txqe) { Statisitcs_totalAcks++; if (Pending_Acks < MAX_PENDING_ACKS) { @@ -359,7 +359,7 @@ static __inline int add_TCP_Pending_Ack(u32 Ack, u32 Session_index, struct txq_e } return 0; } -static __inline int remove_TCP_related(void) +static inline int remove_TCP_related(void) { wilc_wlan_dev_t *p = (wilc_wlan_dev_t *)&g_wlan; unsigned long flags; @@ -370,7 +370,7 @@ static __inline int remove_TCP_related(void) return 0; } -static __inline int tcp_process(struct txq_entry_t *tqe) +static inline int tcp_process(struct txq_entry_t *tqe) { int ret; u8 *eth_hdr_ptr; -- 2.5.1 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel