Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c765a6df authored by Fengguang Wu's avatar Fengguang Wu Committed by Greg Kroah-Hartman
Browse files

Drivers: hv: fcopy_open() can be static



CC: "K. Y. Srinivasan" <kys@microsoft.com>
CC: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>
Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d2ae2e20
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -327,7 +327,7 @@ static ssize_t fcopy_write(struct file *file, const char __user *buf,
	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
@@ -344,7 +344,7 @@ int fcopy_open(struct inode *inode, struct file *f)
	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.