@@ -101,7 +101,7 @@ void qeth_close_dev(struct qeth_card *card)
101
101
}
102
102
EXPORT_SYMBOL_GPL (qeth_close_dev );
103
103
104
- static inline const char * qeth_get_cardname (struct qeth_card * card )
104
+ static const char * qeth_get_cardname (struct qeth_card * card )
105
105
{
106
106
if (card -> info .guestlan ) {
107
107
switch (card -> info .type ) {
@@ -330,7 +330,7 @@ static struct qeth_qdio_q *qeth_alloc_qdio_queue(void)
330
330
return q ;
331
331
}
332
332
333
- static inline int qeth_cq_init (struct qeth_card * card )
333
+ static int qeth_cq_init (struct qeth_card * card )
334
334
{
335
335
int rc ;
336
336
@@ -352,7 +352,7 @@ static inline int qeth_cq_init(struct qeth_card *card)
352
352
return rc ;
353
353
}
354
354
355
- static inline int qeth_alloc_cq (struct qeth_card * card )
355
+ static int qeth_alloc_cq (struct qeth_card * card )
356
356
{
357
357
int rc ;
358
358
@@ -397,7 +397,7 @@ static inline int qeth_alloc_cq(struct qeth_card *card)
397
397
goto out ;
398
398
}
399
399
400
- static inline void qeth_free_cq (struct qeth_card * card )
400
+ static void qeth_free_cq (struct qeth_card * card )
401
401
{
402
402
if (card -> qdio .c_q ) {
403
403
-- card -> qdio .no_in_queues ;
@@ -408,8 +408,9 @@ static inline void qeth_free_cq(struct qeth_card *card)
408
408
card -> qdio .out_bufstates = NULL ;
409
409
}
410
410
411
- static inline enum iucv_tx_notify qeth_compute_cq_notification (int sbalf15 ,
412
- int delayed ) {
411
+ static enum iucv_tx_notify qeth_compute_cq_notification (int sbalf15 ,
412
+ int delayed )
413
+ {
413
414
enum iucv_tx_notify n ;
414
415
415
416
switch (sbalf15 ) {
@@ -432,8 +433,8 @@ static inline enum iucv_tx_notify qeth_compute_cq_notification(int sbalf15,
432
433
return n ;
433
434
}
434
435
435
- static inline void qeth_cleanup_handled_pending (struct qeth_qdio_out_q * q ,
436
- int bidx , int forced_cleanup )
436
+ static void qeth_cleanup_handled_pending (struct qeth_qdio_out_q * q , int bidx ,
437
+ int forced_cleanup )
437
438
{
438
439
if (q -> card -> options .cq != QETH_CQ_ENABLED )
439
440
return ;
@@ -475,8 +476,9 @@ static inline void qeth_cleanup_handled_pending(struct qeth_qdio_out_q *q,
475
476
}
476
477
477
478
478
- static inline void qeth_qdio_handle_aob (struct qeth_card * card ,
479
- unsigned long phys_aob_addr ) {
479
+ static void qeth_qdio_handle_aob (struct qeth_card * card ,
480
+ unsigned long phys_aob_addr )
481
+ {
480
482
struct qaob * aob ;
481
483
struct qeth_qdio_out_buffer * buffer ;
482
484
enum iucv_tx_notify notification ;
@@ -2228,7 +2230,7 @@ static int qeth_cm_setup(struct qeth_card *card)
2228
2230
2229
2231
}
2230
2232
2231
- static inline int qeth_get_initial_mtu_for_card (struct qeth_card * card )
2233
+ static int qeth_get_initial_mtu_for_card (struct qeth_card * card )
2232
2234
{
2233
2235
switch (card -> info .type ) {
2234
2236
case QETH_CARD_TYPE_UNKNOWN :
@@ -2251,7 +2253,7 @@ static inline int qeth_get_initial_mtu_for_card(struct qeth_card *card)
2251
2253
}
2252
2254
}
2253
2255
2254
- static inline int qeth_get_mtu_outof_framesize (int framesize )
2256
+ static int qeth_get_mtu_outof_framesize (int framesize )
2255
2257
{
2256
2258
switch (framesize ) {
2257
2259
case 0x4000 :
@@ -2267,7 +2269,7 @@ static inline int qeth_get_mtu_outof_framesize(int framesize)
2267
2269
}
2268
2270
}
2269
2271
2270
- static inline int qeth_mtu_is_valid (struct qeth_card * card , int mtu )
2272
+ static int qeth_mtu_is_valid (struct qeth_card * card , int mtu )
2271
2273
{
2272
2274
switch (card -> info .type ) {
2273
2275
case QETH_CARD_TYPE_OSD :
@@ -2738,8 +2740,8 @@ static void qeth_initialize_working_pool_list(struct qeth_card *card)
2738
2740
}
2739
2741
}
2740
2742
2741
- static inline struct qeth_buffer_pool_entry * qeth_find_free_buffer_pool_entry (
2742
- struct qeth_card * card )
2743
+ static struct qeth_buffer_pool_entry * qeth_find_free_buffer_pool_entry (
2744
+ struct qeth_card * card )
2743
2745
{
2744
2746
struct list_head * plh ;
2745
2747
struct qeth_buffer_pool_entry * entry ;
@@ -2870,7 +2872,7 @@ int qeth_init_qdio_queues(struct qeth_card *card)
2870
2872
}
2871
2873
EXPORT_SYMBOL_GPL (qeth_init_qdio_queues );
2872
2874
2873
- static inline __u8 qeth_get_ipa_adp_type (enum qeth_link_types link_type )
2875
+ static __u8 qeth_get_ipa_adp_type (enum qeth_link_types link_type )
2874
2876
{
2875
2877
switch (link_type ) {
2876
2878
case QETH_LINK_TYPE_HSTR :
@@ -3888,9 +3890,9 @@ int qeth_hdr_chk_and_bounce(struct sk_buff *skb, struct qeth_hdr **hdr, int len)
3888
3890
}
3889
3891
EXPORT_SYMBOL_GPL (qeth_hdr_chk_and_bounce );
3890
3892
3891
- static inline void __qeth_fill_buffer (struct sk_buff * skb ,
3892
- struct qeth_qdio_out_buffer * buf ,
3893
- bool is_first_elem , unsigned int offset )
3893
+ static void __qeth_fill_buffer (struct sk_buff * skb ,
3894
+ struct qeth_qdio_out_buffer * buf ,
3895
+ bool is_first_elem , unsigned int offset )
3894
3896
{
3895
3897
struct qdio_buffer * buffer = buf -> buffer ;
3896
3898
int element = buf -> next_element_to_fill ;
@@ -3951,10 +3953,10 @@ static inline void __qeth_fill_buffer(struct sk_buff *skb,
3951
3953
buf -> next_element_to_fill = element ;
3952
3954
}
3953
3955
3954
- static inline int qeth_fill_buffer (struct qeth_qdio_out_q * queue ,
3955
- struct qeth_qdio_out_buffer * buf ,
3956
- struct sk_buff * skb , struct qeth_hdr * hdr ,
3957
- unsigned int offset , int hd_len )
3956
+ static int qeth_fill_buffer (struct qeth_qdio_out_q * queue ,
3957
+ struct qeth_qdio_out_buffer * buf ,
3958
+ struct sk_buff * skb , struct qeth_hdr * hdr ,
3959
+ unsigned int offset , int hd_len )
3958
3960
{
3959
3961
struct qdio_buffer * buffer ;
3960
3962
int flush_cnt = 0 , hdr_len ;
@@ -4821,7 +4823,7 @@ int qeth_vm_request_mac(struct qeth_card *card)
4821
4823
}
4822
4824
EXPORT_SYMBOL_GPL (qeth_vm_request_mac );
4823
4825
4824
- static inline int qeth_get_qdio_q_format (struct qeth_card * card )
4826
+ static int qeth_get_qdio_q_format (struct qeth_card * card )
4825
4827
{
4826
4828
if (card -> info .type == QETH_CARD_TYPE_IQD )
4827
4829
return QDIO_IQDIO_QFMT ;
@@ -4886,9 +4888,12 @@ static void qeth_determine_capabilities(struct qeth_card *card)
4886
4888
return ;
4887
4889
}
4888
4890
4889
- static inline void qeth_qdio_establish_cq (struct qeth_card * card ,
4890
- struct qdio_buffer * * in_sbal_ptrs ,
4891
- void (* * queue_start_poll ) (struct ccw_device * , int , unsigned long )) {
4891
+ static void qeth_qdio_establish_cq (struct qeth_card * card ,
4892
+ struct qdio_buffer * * in_sbal_ptrs ,
4893
+ void (* * queue_start_poll )
4894
+ (struct ccw_device * , int ,
4895
+ unsigned long ))
4896
+ {
4892
4897
int i ;
4893
4898
4894
4899
if (card -> options .cq == QETH_CQ_ENABLED ) {
@@ -5180,9 +5185,10 @@ int qeth_core_hardsetup_card(struct qeth_card *card)
5180
5185
}
5181
5186
EXPORT_SYMBOL_GPL (qeth_core_hardsetup_card );
5182
5187
5183
- static inline int qeth_create_skb_frag (struct qeth_qdio_buffer * qethbuffer ,
5184
- struct qdio_buffer_element * element ,
5185
- struct sk_buff * * pskb , int offset , int * pfrag , int data_len )
5188
+ static int qeth_create_skb_frag (struct qeth_qdio_buffer * qethbuffer ,
5189
+ struct qdio_buffer_element * element ,
5190
+ struct sk_buff * * pskb , int offset , int * pfrag ,
5191
+ int data_len )
5186
5192
{
5187
5193
struct page * page = virt_to_page (element -> addr );
5188
5194
if (* pskb == NULL ) {
0 commit comments