mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 13:14:07 +08:00
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>
This commit is contained in:
parent
066c437359
commit
aa2383f815
@ -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];
|
||||
|
||||
@ -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;
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user