summaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/device_ops.c
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2012-10-29 16:50:20 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2012-11-23 11:14:28 +0100
commit287a0933237a227d1d6508de0ad6425b55a60476 (patch)
treed4b15f799b6858a07114f85cd1cbdb8e8d5e4259 /drivers/s390/cio/device_ops.c
parent9368dac4367cd9a61ef75a745c6e26d0dd164172 (diff)
downloadblackbird-obmc-linux-287a0933237a227d1d6508de0ad6425b55a60476.tar.gz
blackbird-obmc-linux-287a0933237a227d1d6508de0ad6425b55a60476.zip
s390: use ccw_device_get_schid
Let the dasd driver and qdio use ccw_device_get_schid and get rid of other similar functions. Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/device_ops.c')
-rw-r--r--drivers/s390/cio/device_ops.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/s390/cio/device_ops.c b/drivers/s390/cio/device_ops.c
index 2ad832f8e340..c77b6e06bf64 100644
--- a/drivers/s390/cio/device_ops.c
+++ b/drivers/s390/cio/device_ops.c
@@ -755,14 +755,6 @@ int ccw_device_tm_intrg(struct ccw_device *cdev)
}
EXPORT_SYMBOL(ccw_device_tm_intrg);
-// FIXME: these have to go:
-
-int
-_ccw_device_get_subchannel_number(struct ccw_device *cdev)
-{
- return cdev->private->schid.sch_no;
-}
-
/**
* ccw_device_get_schid - obtain a subchannel id
* @cdev: device to obtain the id for
@@ -789,5 +781,4 @@ EXPORT_SYMBOL(ccw_device_start_timeout_key);
EXPORT_SYMBOL(ccw_device_start_key);
EXPORT_SYMBOL(ccw_device_get_ciw);
EXPORT_SYMBOL(ccw_device_get_path_mask);
-EXPORT_SYMBOL(_ccw_device_get_subchannel_number);
EXPORT_SYMBOL_GPL(ccw_device_get_chp_desc);
OpenPOWER on IntegriCloud