winebus.sys: Remove the now useless get_unix_device.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
be503e97fb
commit
5f8ebe7a60
|
@ -27,8 +27,6 @@
|
|||
|
||||
#include "unixlib.h"
|
||||
|
||||
struct unix_device *get_unix_device(DEVICE_OBJECT *device) DECLSPEC_HIDDEN;
|
||||
|
||||
/* General Bus Functions */
|
||||
BOOL is_xbox_gamepad(WORD vid, WORD pid) DECLSPEC_HIDDEN;
|
||||
|
||||
|
|
|
@ -217,12 +217,6 @@ static void unix_device_set_feature_report(DEVICE_OBJECT *device, HID_XFER_PACKE
|
|||
winebus_call(device_set_feature_report, ¶ms);
|
||||
}
|
||||
|
||||
struct unix_device *get_unix_device(DEVICE_OBJECT *device)
|
||||
{
|
||||
struct device_extension *ext = (struct device_extension *)device->DeviceExtension;
|
||||
return ext->unix_device;
|
||||
}
|
||||
|
||||
static DWORD get_device_index(struct device_desc *desc)
|
||||
{
|
||||
struct device_extension *ext;
|
||||
|
|
Loading…
Reference in New Issue