diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2007-02-05 15:18:53 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-02-05 15:18:53 -0500 |
commit | 4d284cac76d0bfebc42d76b428c4e44d921200a9 (patch) | |
tree | e99d659aea9c747a3d5b4b4341f84a5cbead265b /drivers/s390/char/tape_core.c | |
parent | 162e006ef59266b9ebf34e3d15ca1f3d9ee956d7 (diff) |
[S390] Avoid excessive inlining.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/char/tape_core.c')
-rw-r--r-- | drivers/s390/char/tape_core.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/s390/char/tape_core.c b/drivers/s390/char/tape_core.c index 8691bb985d00..e2a8a1a04bab 100644 --- a/drivers/s390/char/tape_core.c +++ b/drivers/s390/char/tape_core.c | |||
@@ -76,7 +76,7 @@ const char *tape_op_verbose[TO_SIZE] = | |||
76 | [TO_KEKL_QUERY] = "KLQ", | 76 | [TO_KEKL_QUERY] = "KLQ", |
77 | }; | 77 | }; |
78 | 78 | ||
79 | static inline int | 79 | static int |
80 | busid_to_int(char *bus_id) | 80 | busid_to_int(char *bus_id) |
81 | { | 81 | { |
82 | int dec; | 82 | int dec; |
@@ -256,7 +256,7 @@ tape_med_state_set(struct tape_device *device, enum tape_medium_state newstate) | |||
256 | /* | 256 | /* |
257 | * Stop running ccw. Has to be called with the device lock held. | 257 | * Stop running ccw. Has to be called with the device lock held. |
258 | */ | 258 | */ |
259 | static inline int | 259 | static int |
260 | __tape_cancel_io(struct tape_device *device, struct tape_request *request) | 260 | __tape_cancel_io(struct tape_device *device, struct tape_request *request) |
261 | { | 261 | { |
262 | int retries; | 262 | int retries; |
@@ -392,7 +392,7 @@ out: | |||
392 | return rc; | 392 | return rc; |
393 | } | 393 | } |
394 | 394 | ||
395 | static inline void | 395 | static void |
396 | tape_cleanup_device(struct tape_device *device) | 396 | tape_cleanup_device(struct tape_device *device) |
397 | { | 397 | { |
398 | tapeblock_cleanup_device(device); | 398 | tapeblock_cleanup_device(device); |
@@ -570,7 +570,7 @@ tape_generic_probe(struct ccw_device *cdev) | |||
570 | return ret; | 570 | return ret; |
571 | } | 571 | } |
572 | 572 | ||
573 | static inline void | 573 | static void |
574 | __tape_discard_requests(struct tape_device *device) | 574 | __tape_discard_requests(struct tape_device *device) |
575 | { | 575 | { |
576 | struct tape_request * request; | 576 | struct tape_request * request; |
@@ -710,7 +710,7 @@ tape_free_request (struct tape_request * request) | |||
710 | kfree(request); | 710 | kfree(request); |
711 | } | 711 | } |
712 | 712 | ||
713 | static inline int | 713 | static int |
714 | __tape_start_io(struct tape_device *device, struct tape_request *request) | 714 | __tape_start_io(struct tape_device *device, struct tape_request *request) |
715 | { | 715 | { |
716 | int rc; | 716 | int rc; |
@@ -740,7 +740,7 @@ __tape_start_io(struct tape_device *device, struct tape_request *request) | |||
740 | return rc; | 740 | return rc; |
741 | } | 741 | } |
742 | 742 | ||
743 | static inline void | 743 | static void |
744 | __tape_start_next_request(struct tape_device *device) | 744 | __tape_start_next_request(struct tape_device *device) |
745 | { | 745 | { |
746 | struct list_head *l, *n; | 746 | struct list_head *l, *n; |
@@ -824,7 +824,7 @@ static void tape_long_busy_timeout(unsigned long data) | |||
824 | spin_unlock_irq(get_ccwdev_lock(device->cdev)); | 824 | spin_unlock_irq(get_ccwdev_lock(device->cdev)); |
825 | } | 825 | } |
826 | 826 | ||
827 | static inline void | 827 | static void |
828 | __tape_end_request( | 828 | __tape_end_request( |
829 | struct tape_device * device, | 829 | struct tape_device * device, |
830 | struct tape_request * request, | 830 | struct tape_request * request, |
@@ -901,7 +901,7 @@ tape_dump_sense_dbf(struct tape_device *device, struct tape_request *request, | |||
901 | * and starts it if the tape is idle. Has to be called with | 901 | * and starts it if the tape is idle. Has to be called with |
902 | * the device lock held. | 902 | * the device lock held. |
903 | */ | 903 | */ |
904 | static inline int | 904 | static int |
905 | __tape_start_request(struct tape_device *device, struct tape_request *request) | 905 | __tape_start_request(struct tape_device *device, struct tape_request *request) |
906 | { | 906 | { |
907 | int rc; | 907 | int rc; |