Skip to content

Commit

Permalink
Staging: frontier: remove unused alphatrack_sysfs.c file
Browse files Browse the repository at this point in the history
The alphatrack_sysfs.c is unused, so remove it.

Cc: David Taht <d@teklibre.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Jan 6, 2009
1 parent 8da3dc2 commit 006ef0e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 303 deletions.
24 changes: 0 additions & 24 deletions drivers/staging/frontier/alphatrack.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ MODULE_SUPPORTED_DEVICE("Frontier Designs Alphatrack Control Surface");

/* These aren't done yet */

#define ALPHATRACK_HAVE_SYSFS 0
#define SUPPRESS_EXTRA_ONLINE_EVENTS 0
#define BUFFERED_WRITES 0
#define SUPPRESS_EXTRA_OFFLINE_EVENTS 0
Expand Down Expand Up @@ -232,12 +231,6 @@ static void usb_alphatrack_abort_transfers(struct usb_alphatrack *dev)
usb_kill_urb(dev->interrupt_out_urb);
}

#if ALPHATRACK_HAVE_SYSFS
/* lots and lots and lots of sysfs stuff */
/* Currently borked, probably useless */
#include "alphatrack_sysfs.c"
#endif

/**
* usb_alphatrack_delete
*/
Expand Down Expand Up @@ -800,23 +793,6 @@ static int usb_alphatrack_probe(struct usb_interface *intf, const struct usb_dev
dev_info(&intf->dev, "Alphatrack Device #%d now attached to major %d minor %d\n",
(intf->minor - USB_ALPHATRACK_MINOR_BASE), USB_MAJOR, intf->minor);

#if ALPHATRACK_HAVE_SYSFS
if((retval = device_create_file(&intf->dev, &dev_attr_event))) goto error;
if((retval = device_create_file(&intf->dev, &dev_attr_dump_state))) goto error;
if((retval = device_create_file(&intf->dev, &dev_attr_enable))) goto error;
if((retval = device_create_file(&intf->dev, &dev_attr_offline))) goto error;

/* exercise sysfs */

set_lights("32767"); // turn on all the lights
set_fader0("1023"); // Move fader to max
set_screen("INITIALIZING ALPHATRACK...");
set_lights("0");
set_fader0("0");
set_screen(" ");

#endif

exit:
return retval;

Expand Down
279 changes: 0 additions & 279 deletions drivers/staging/frontier/alphatrack_sysfs.c

This file was deleted.

0 comments on commit 006ef0e

Please sign in to comment.