mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
Drivers: hv: fcopy_open() can be static
CC: "K. Y. Srinivasan" <kys@microsoft.com> CC: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d2ae2e20fb
commit
c765a6dfad
1 changed files with 2 additions and 2 deletions
|
@ -327,7 +327,7 @@ static ssize_t fcopy_write(struct file *file, const char __user *buf,
|
||||||
return sizeof(int);
|
return sizeof(int);
|
||||||
}
|
}
|
||||||
|
|
||||||
int fcopy_open(struct inode *inode, struct file *f)
|
static int fcopy_open(struct inode *inode, struct file *f)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* The user level daemon that will open this device is
|
* The user level daemon that will open this device is
|
||||||
|
@ -344,7 +344,7 @@ int fcopy_open(struct inode *inode, struct file *f)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int fcopy_release(struct inode *inode, struct file *f)
|
static int fcopy_release(struct inode *inode, struct file *f)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* The daemon has exited; reset the state.
|
* The daemon has exited; reset the state.
|
||||||
|
|
Loading…
Add table
Reference in a new issue