Skip to content

Commit

Permalink
Staging: hv: hv_mouse: remove inline function markings
Browse files Browse the repository at this point in the history
They are totally useless here, so remove them.

Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: K. Y. Srinivasan <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Mar 3, 2011
1 parent 4f14313 commit 037b653
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions drivers/staging/hv/hv_mouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ static void deviceinfo_callback(struct hv_device *dev, struct input_dev_info *in
static void inputreport_callback(struct hv_device *dev, void *packet, u32 len);
static void reportdesc_callback(struct hv_device *dev, void *packet, u32 len);

static inline struct mousevsc_dev *AllocInputDevice(struct hv_device *Device)
static struct mousevsc_dev *AllocInputDevice(struct hv_device *Device)
{
struct mousevsc_dev *inputDevice;

Expand All @@ -243,7 +243,7 @@ static inline struct mousevsc_dev *AllocInputDevice(struct hv_device *Device)
return inputDevice;
}

static inline void FreeInputDevice(struct mousevsc_dev *Device)
static void FreeInputDevice(struct mousevsc_dev *Device)
{
WARN_ON(atomic_read(&Device->RefCount) == 0);
kfree(Device);
Expand All @@ -252,7 +252,7 @@ static inline void FreeInputDevice(struct mousevsc_dev *Device)
/*
* Get the inputdevice object if exists and its refcount > 1
*/
static inline struct mousevsc_dev *GetInputDevice(struct hv_device *Device)
static struct mousevsc_dev *GetInputDevice(struct hv_device *Device)
{
struct mousevsc_dev *inputDevice;

Expand All @@ -278,7 +278,7 @@ static inline struct mousevsc_dev *GetInputDevice(struct hv_device *Device)
/*
* Get the inputdevice object iff exists and its refcount > 0
*/
static inline struct mousevsc_dev *MustGetInputDevice(struct hv_device *Device)
static struct mousevsc_dev *MustGetInputDevice(struct hv_device *Device)
{
struct mousevsc_dev *inputDevice;

Expand All @@ -292,7 +292,7 @@ static inline struct mousevsc_dev *MustGetInputDevice(struct hv_device *Device)
return inputDevice;
}

static inline void PutInputDevice(struct hv_device *Device)
static void PutInputDevice(struct hv_device *Device)
{
struct mousevsc_dev *inputDevice;

Expand All @@ -304,7 +304,7 @@ static inline void PutInputDevice(struct hv_device *Device)
/*
* Drop ref count to 1 to effectively disable GetInputDevice()
*/
static inline struct mousevsc_dev *ReleaseInputDevice(struct hv_device *Device)
static struct mousevsc_dev *ReleaseInputDevice(struct hv_device *Device)
{
struct mousevsc_dev *inputDevice;

Expand All @@ -320,7 +320,7 @@ static inline struct mousevsc_dev *ReleaseInputDevice(struct hv_device *Device)
/*
* Drop ref count to 0. No one can use InputDevice object.
*/
static inline struct mousevsc_dev *FinalReleaseInputDevice(struct hv_device *Device)
static struct mousevsc_dev *FinalReleaseInputDevice(struct hv_device *Device)
{
struct mousevsc_dev *inputDevice;

Expand Down

0 comments on commit 037b653

Please sign in to comment.