aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/char/tape_core.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2007-02-05 15:18:53 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2007-02-05 15:18:53 -0500
commit4d284cac76d0bfebc42d76b428c4e44d921200a9 (patch)
treee99d659aea9c747a3d5b4b4341f84a5cbead265b /drivers/s390/char/tape_core.c
parent162e006ef59266b9ebf34e3d15ca1f3d9ee956d7 (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.c16
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
79static inline int 79static int
80busid_to_int(char *bus_id) 80busid_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 */
259static inline int 259static 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
395static inline void 395static void
396tape_cleanup_device(struct tape_device *device) 396tape_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
573static inline void 573static 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
713static inline int 713static 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
743static inline void 743static 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
827static inline void 827static 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 */
904static inline int 904static 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;