Skip to content

Commit

Permalink
qdio: remove unused parameters
Browse files Browse the repository at this point in the history
Remove unused function parameters.

Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
  • Loading branch information
Stefan Raspl authored and Martin Schwidefsky committed Feb 28, 2013
1 parent 066c437 commit aa2383f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
9 changes: 5 additions & 4 deletions drivers/s390/cio/qdio_debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,8 @@ static struct file_operations debugfs_perf_fops = {
.llseek = seq_lseek,
.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];

Expand Down Expand Up @@ -263,12 +264,12 @@ void qdio_setup_debug_entries(struct qdio_irq *irq_ptr, struct ccw_device *cdev)
irq_ptr->debugfs_perf = NULL;

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)
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;
int i;
Expand Down
3 changes: 1 addition & 2 deletions drivers/s390/cio/qdio_debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ void qdio_allocate_dbf(struct qdio_initialize *init_data,
struct qdio_irq *irq_ptr);
void qdio_setup_debug_entries(struct qdio_irq *irq_ptr,
struct ccw_device *cdev);
void qdio_shutdown_debug_entries(struct qdio_irq *irq_ptr,
struct ccw_device *cdev);
void qdio_shutdown_debug_entries(struct qdio_irq *irq_ptr);
int qdio_debug_init(void);
void qdio_debug_exit(void);

Expand Down
2 changes: 1 addition & 1 deletion drivers/s390/cio/qdio_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,7 @@ int qdio_shutdown(struct ccw_device *cdev, int how)

tiqdio_remove_input_queues(irq_ptr);
qdio_shutdown_queues(cdev);
qdio_shutdown_debug_entries(irq_ptr, cdev);
qdio_shutdown_debug_entries(irq_ptr);

/* cleanup subchannel */
spin_lock_irqsave(get_ccwdev_lock(cdev), flags);
Expand Down

0 comments on commit aa2383f

Please sign in to comment.