diff options
author | Stefan Raspl <raspl@linux.vnet.ibm.com> | 2013-02-26 07:08:34 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-02-28 03:37:12 -0500 |
commit | aa2383f815c3720f1f406d2f574dfb65aedce2ec (patch) | |
tree | 576170f9026e69e6feace051f291aedae6edcddc /drivers/s390 | |
parent | 066c4373599211ab0e1425586b8df6f1e932d97e (diff) |
qdio: remove unused parameters
Remove unused function parameters.
Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/cio/qdio_debug.c | 9 | ||||
-rw-r--r-- | drivers/s390/cio/qdio_debug.h | 3 | ||||
-rw-r--r-- | drivers/s390/cio/qdio_main.c | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/drivers/s390/cio/qdio_debug.c b/drivers/s390/cio/qdio_debug.c index 749b72739c4a..ccaae9d63d27 100644 --- a/drivers/s390/cio/qdio_debug.c +++ b/drivers/s390/cio/qdio_debug.c | |||
@@ -232,7 +232,8 @@ static struct file_operations debugfs_perf_fops = { | |||
232 | .llseek = seq_lseek, | 232 | .llseek = seq_lseek, |
233 | .release = single_release, | 233 | .release = single_release, |
234 | }; | 234 | }; |
235 | static void setup_debugfs_entry(struct qdio_q *q, struct ccw_device *cdev) | 235 | |
236 | static void setup_debugfs_entry(struct qdio_q *q) | ||
236 | { | 237 | { |
237 | char name[QDIO_DEBUGFS_NAME_LEN]; | 238 | char name[QDIO_DEBUGFS_NAME_LEN]; |
238 | 239 | ||
@@ -263,12 +264,12 @@ void qdio_setup_debug_entries(struct qdio_irq *irq_ptr, struct ccw_device *cdev) | |||
263 | irq_ptr->debugfs_perf = NULL; | 264 | irq_ptr->debugfs_perf = NULL; |
264 | 265 | ||
265 | for_each_input_queue(irq_ptr, q, i) | 266 | for_each_input_queue(irq_ptr, q, i) |
266 | setup_debugfs_entry(q, cdev); | 267 | setup_debugfs_entry(q); |
267 | for_each_output_queue(irq_ptr, q, i) | 268 | for_each_output_queue(irq_ptr, q, i) |
268 | setup_debugfs_entry(q, cdev); | 269 | setup_debugfs_entry(q); |
269 | } | 270 | } |
270 | 271 | ||
271 | void qdio_shutdown_debug_entries(struct qdio_irq *irq_ptr, struct ccw_device *cdev) | 272 | void qdio_shutdown_debug_entries(struct qdio_irq *irq_ptr) |
272 | { | 273 | { |
273 | struct qdio_q *q; | 274 | struct qdio_q *q; |
274 | int i; | 275 | int i; |
diff --git a/drivers/s390/cio/qdio_debug.h b/drivers/s390/cio/qdio_debug.h index 7f8b973da298..647b422bb22a 100644 --- a/drivers/s390/cio/qdio_debug.h +++ b/drivers/s390/cio/qdio_debug.h | |||
@@ -85,8 +85,7 @@ void qdio_allocate_dbf(struct qdio_initialize *init_data, | |||
85 | struct qdio_irq *irq_ptr); | 85 | struct qdio_irq *irq_ptr); |
86 | void qdio_setup_debug_entries(struct qdio_irq *irq_ptr, | 86 | void qdio_setup_debug_entries(struct qdio_irq *irq_ptr, |
87 | struct ccw_device *cdev); | 87 | struct ccw_device *cdev); |
88 | void qdio_shutdown_debug_entries(struct qdio_irq *irq_ptr, | 88 | void qdio_shutdown_debug_entries(struct qdio_irq *irq_ptr); |
89 | struct ccw_device *cdev); | ||
90 | int qdio_debug_init(void); | 89 | int qdio_debug_init(void); |
91 | void qdio_debug_exit(void); | 90 | void qdio_debug_exit(void); |
92 | 91 | ||
diff --git a/drivers/s390/cio/qdio_main.c b/drivers/s390/cio/qdio_main.c index abc550e5dd35..843051bc20f1 100644 --- a/drivers/s390/cio/qdio_main.c +++ b/drivers/s390/cio/qdio_main.c | |||
@@ -1226,7 +1226,7 @@ int qdio_shutdown(struct ccw_device *cdev, int how) | |||
1226 | 1226 | ||
1227 | tiqdio_remove_input_queues(irq_ptr); | 1227 | tiqdio_remove_input_queues(irq_ptr); |
1228 | qdio_shutdown_queues(cdev); | 1228 | qdio_shutdown_queues(cdev); |
1229 | qdio_shutdown_debug_entries(irq_ptr, cdev); | 1229 | qdio_shutdown_debug_entries(irq_ptr); |
1230 | 1230 | ||
1231 | /* cleanup subchannel */ | 1231 | /* cleanup subchannel */ |
1232 | spin_lock_irqsave(get_ccwdev_lock(cdev), flags); | 1232 | spin_lock_irqsave(get_ccwdev_lock(cdev), flags); |