summaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/css.c
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2013-04-13 13:04:49 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-04-17 14:07:33 +0200
commit4e5ebd51214a1851841f952e9e5b5072ce5f9da4 (patch)
tree6e85e1e791918187ecbd233015ac1a1f921200b4 /drivers/s390/cio/css.c
parents390/css: introduce cio_register_early_subchannels (diff)
downloadlinux-4e5ebd51214a1851841f952e9e5b5072ce5f9da4.tar.xz
linux-4e5ebd51214a1851841f952e9e5b5072ce5f9da4.zip
s390/css: remove unused function definitions
Make css_probe_device static and remove an unimplemented prototype. Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com> 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/css.c')
-rw-r--r--drivers/s390/cio/css.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/cio/css.c b/drivers/s390/cio/css.c
index 3b2245f58bde..054fb428531f 100644
--- a/drivers/s390/cio/css.c
+++ b/drivers/s390/cio/css.c
@@ -304,10 +304,10 @@ int css_register_subchannel(struct subchannel *sch)
return ret;
}
-int css_probe_device(struct subchannel_id schid)
+static int css_probe_device(struct subchannel_id schid)
{
- int ret;
struct subchannel *sch;
+ int ret;
sch = css_alloc_subchannel(schid);
if (IS_ERR(sch))