@@ -327,8 +327,7 @@ lcs_set_allowed_threads(struct lcs_card *card, unsigned long threads)
327
327
spin_unlock_irqrestore (& card -> mask_lock , flags );
328
328
wake_up (& card -> wait_q );
329
329
}
330
- static inline int
331
- lcs_threads_running (struct lcs_card * card , unsigned long threads )
330
+ static int lcs_threads_running (struct lcs_card * card , unsigned long threads )
332
331
{
333
332
unsigned long flags ;
334
333
int rc = 0 ;
@@ -346,8 +345,7 @@ lcs_wait_for_threads(struct lcs_card *card, unsigned long threads)
346
345
lcs_threads_running (card , threads ) == 0 );
347
346
}
348
347
349
- static inline int
350
- lcs_set_thread_start_bit (struct lcs_card * card , unsigned long thread )
348
+ static int lcs_set_thread_start_bit (struct lcs_card * card , unsigned long thread )
351
349
{
352
350
unsigned long flags ;
353
351
@@ -373,8 +371,7 @@ lcs_clear_thread_running_bit(struct lcs_card *card, unsigned long thread)
373
371
wake_up (& card -> wait_q );
374
372
}
375
373
376
- static inline int
377
- __lcs_do_run_thread (struct lcs_card * card , unsigned long thread )
374
+ static int __lcs_do_run_thread (struct lcs_card * card , unsigned long thread )
378
375
{
379
376
unsigned long flags ;
380
377
int rc = 0 ;
@@ -444,8 +441,7 @@ lcs_setup_card(struct lcs_card *card)
444
441
INIT_LIST_HEAD (& card -> lancmd_waiters );
445
442
}
446
443
447
- static inline void
448
- lcs_clear_multicast_list (struct lcs_card * card )
444
+ static void lcs_clear_multicast_list (struct lcs_card * card )
449
445
{
450
446
#ifdef CONFIG_IP_MULTICAST
451
447
struct lcs_ipm_list * ipm ;
@@ -656,8 +652,7 @@ __lcs_resume_channel(struct lcs_channel *channel)
656
652
/**
657
653
* Make a buffer ready for processing.
658
654
*/
659
- static inline void
660
- __lcs_ready_buffer_bits (struct lcs_channel * channel , int index )
655
+ static void __lcs_ready_buffer_bits (struct lcs_channel * channel , int index )
661
656
{
662
657
int prev , next ;
663
658
@@ -1169,8 +1164,8 @@ lcs_get_mac_for_ipm(__be32 ipm, char *mac, struct net_device *dev)
1169
1164
/**
1170
1165
* function called by net device to handle multicast address relevant things
1171
1166
*/
1172
- static inline void
1173
- lcs_remove_mc_addresses ( struct lcs_card * card , struct in_device * in4_dev )
1167
+ static void lcs_remove_mc_addresses ( struct lcs_card * card ,
1168
+ struct in_device * in4_dev )
1174
1169
{
1175
1170
struct ip_mc_list * im4 ;
1176
1171
struct list_head * l ;
@@ -1196,8 +1191,9 @@ lcs_remove_mc_addresses(struct lcs_card *card, struct in_device *in4_dev)
1196
1191
spin_unlock_irqrestore (& card -> ipm_lock , flags );
1197
1192
}
1198
1193
1199
- static inline struct lcs_ipm_list *
1200
- lcs_check_addr_entry (struct lcs_card * card , struct ip_mc_list * im4 , char * buf )
1194
+ static struct lcs_ipm_list * lcs_check_addr_entry (struct lcs_card * card ,
1195
+ struct ip_mc_list * im4 ,
1196
+ char * buf )
1201
1197
{
1202
1198
struct lcs_ipm_list * tmp , * ipm = NULL ;
1203
1199
struct list_head * l ;
@@ -1218,8 +1214,8 @@ lcs_check_addr_entry(struct lcs_card *card, struct ip_mc_list *im4, char *buf)
1218
1214
return ipm ;
1219
1215
}
1220
1216
1221
- static inline void
1222
- lcs_set_mc_addresses ( struct lcs_card * card , struct in_device * in4_dev )
1217
+ static void lcs_set_mc_addresses ( struct lcs_card * card ,
1218
+ struct in_device * in4_dev )
1223
1219
{
1224
1220
1225
1221
struct ip_mc_list * im4 ;
0 commit comments