Commit aa2383f8 authored by Stefan Raspl's avatar Stefan Raspl Committed by Martin Schwidefsky

qdio: remove unused parameters

Remove unused function parameters.
Signed-off-by: default avatarStefan Raspl <raspl@linux.vnet.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 066c4373
...@@ -232,7 +232,8 @@ static struct file_operations debugfs_perf_fops = { ...@@ -232,7 +232,8 @@ static struct file_operations debugfs_perf_fops = {
.llseek = seq_lseek, .llseek = seq_lseek,
.release = single_release, .release = single_release,
}; };
static void setup_debugfs_entry(struct qdio_q *q, struct ccw_device *cdev)
static void setup_debugfs_entry(struct qdio_q *q)
{ {
char name[QDIO_DEBUGFS_NAME_LEN]; char name[QDIO_DEBUGFS_NAME_LEN];
...@@ -263,12 +264,12 @@ void qdio_setup_debug_entries(struct qdio_irq *irq_ptr, struct ccw_device *cdev) ...@@ -263,12 +264,12 @@ void qdio_setup_debug_entries(struct qdio_irq *irq_ptr, struct ccw_device *cdev)
irq_ptr->debugfs_perf = NULL; irq_ptr->debugfs_perf = NULL;
for_each_input_queue(irq_ptr, q, i) for_each_input_queue(irq_ptr, q, i)
setup_debugfs_entry(q, cdev); setup_debugfs_entry(q);
for_each_output_queue(irq_ptr, q, i) for_each_output_queue(irq_ptr, q, i)
setup_debugfs_entry(q, cdev); setup_debugfs_entry(q);
} }
void qdio_shutdown_debug_entries(struct qdio_irq *irq_ptr, struct ccw_device *cdev) void qdio_shutdown_debug_entries(struct qdio_irq *irq_ptr)
{ {
struct qdio_q *q; struct qdio_q *q;
int i; int i;
......
...@@ -85,8 +85,7 @@ void qdio_allocate_dbf(struct qdio_initialize *init_data, ...@@ -85,8 +85,7 @@ void qdio_allocate_dbf(struct qdio_initialize *init_data,
struct qdio_irq *irq_ptr); struct qdio_irq *irq_ptr);
void qdio_setup_debug_entries(struct qdio_irq *irq_ptr, void qdio_setup_debug_entries(struct qdio_irq *irq_ptr,
struct ccw_device *cdev); struct ccw_device *cdev);
void qdio_shutdown_debug_entries(struct qdio_irq *irq_ptr, void qdio_shutdown_debug_entries(struct qdio_irq *irq_ptr);
struct ccw_device *cdev);
int qdio_debug_init(void); int qdio_debug_init(void);
void qdio_debug_exit(void); void qdio_debug_exit(void);
......
...@@ -1226,7 +1226,7 @@ int qdio_shutdown(struct ccw_device *cdev, int how) ...@@ -1226,7 +1226,7 @@ int qdio_shutdown(struct ccw_device *cdev, int how)
tiqdio_remove_input_queues(irq_ptr); tiqdio_remove_input_queues(irq_ptr);
qdio_shutdown_queues(cdev); qdio_shutdown_queues(cdev);
qdio_shutdown_debug_entries(irq_ptr, cdev); qdio_shutdown_debug_entries(irq_ptr);
/* cleanup subchannel */ /* cleanup subchannel */
spin_lock_irqsave(get_ccwdev_lock(cdev), flags); spin_lock_irqsave(get_ccwdev_lock(cdev), flags);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment