mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
blk-mq-debugfs: Declare a local symbol static
This was detected by sparse. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Reviewed-by: Omar Sandoval <osandov@fb.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
d352ae205d
commit
f846593391
@ -739,7 +739,7 @@ static int blk_mq_debugfs_release(struct inode *inode, struct file *file)
|
|||||||
return seq_release(inode, file);
|
return seq_release(inode, file);
|
||||||
}
|
}
|
||||||
|
|
||||||
const struct file_operations blk_mq_debugfs_fops = {
|
static const struct file_operations blk_mq_debugfs_fops = {
|
||||||
.open = blk_mq_debugfs_open,
|
.open = blk_mq_debugfs_open,
|
||||||
.read = seq_read,
|
.read = seq_read,
|
||||||
.write = blk_mq_debugfs_write,
|
.write = blk_mq_debugfs_write,
|
||||||
|
Loading…
Reference in New Issue
Block a user