diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2013-04-13 07:04:49 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-04-17 08:07:33 -0400 |
commit | 4e5ebd51214a1851841f952e9e5b5072ce5f9da4 (patch) | |
tree | 6e85e1e791918187ecbd233015ac1a1f921200b4 /drivers/s390 | |
parent | 14556b33f2a5d6a3bc75cd33b709452a31555b25 (diff) |
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')
-rw-r--r-- | drivers/s390/cio/css.c | 4 | ||||
-rw-r--r-- | drivers/s390/cio/css.h | 2 |
2 files changed, 2 insertions, 4 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) | |||
304 | return ret; | 304 | return ret; |
305 | } | 305 | } |
306 | 306 | ||
307 | int css_probe_device(struct subchannel_id schid) | 307 | static int css_probe_device(struct subchannel_id schid) |
308 | { | 308 | { |
309 | int ret; | ||
310 | struct subchannel *sch; | 309 | struct subchannel *sch; |
310 | int ret; | ||
311 | 311 | ||
312 | sch = css_alloc_subchannel(schid); | 312 | sch = css_alloc_subchannel(schid); |
313 | if (IS_ERR(sch)) | 313 | if (IS_ERR(sch)) |
diff --git a/drivers/s390/cio/css.h b/drivers/s390/cio/css.h index 2581b6986569..b1de60335238 100644 --- a/drivers/s390/cio/css.h +++ b/drivers/s390/cio/css.h | |||
@@ -101,7 +101,6 @@ extern int css_driver_register(struct css_driver *); | |||
101 | extern void css_driver_unregister(struct css_driver *); | 101 | extern void css_driver_unregister(struct css_driver *); |
102 | 102 | ||
103 | extern void css_sch_device_unregister(struct subchannel *); | 103 | extern void css_sch_device_unregister(struct subchannel *); |
104 | extern int css_probe_device(struct subchannel_id); | ||
105 | extern int css_register_subchannel(struct subchannel *); | 104 | extern int css_register_subchannel(struct subchannel *); |
106 | extern struct subchannel *css_alloc_subchannel(struct subchannel_id); | 105 | extern struct subchannel *css_alloc_subchannel(struct subchannel_id); |
107 | extern struct subchannel *get_subchannel_by_schid(struct subchannel_id); | 106 | extern struct subchannel *get_subchannel_by_schid(struct subchannel_id); |
@@ -111,7 +110,6 @@ int for_each_subchannel_staged(int (*fn_known)(struct subchannel *, void *), | |||
111 | int (*fn_unknown)(struct subchannel_id, | 110 | int (*fn_unknown)(struct subchannel_id, |
112 | void *), void *data); | 111 | void *), void *data); |
113 | extern int for_each_subchannel(int(*fn)(struct subchannel_id, void *), void *); | 112 | extern int for_each_subchannel(int(*fn)(struct subchannel_id, void *), void *); |
114 | extern void css_reiterate_subchannels(void); | ||
115 | void css_update_ssd_info(struct subchannel *sch); | 113 | void css_update_ssd_info(struct subchannel *sch); |
116 | 114 | ||
117 | struct channel_subsystem { | 115 | struct channel_subsystem { |