Skip to content

Commit

Permalink
staging: unisys: Remove dead kobj structs
Browse files Browse the repository at this point in the history
Remove stale code.

Signed-off-by: Don Zickus <[email protected]>
Signed-off-by: Benjamin Romer <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
dzickusrh authored and gregkh committed May 24, 2015
1 parent 68b04f1 commit 5ace402
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions drivers/staging/unisys/visorbus/visorbus_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,38 +48,6 @@ struct visorbus_devdata {
struct spar_vbus_headerinfo vbus_hdr_info;
};

/* These forward declarations are required since our drivers are out-of-tree.
* The structures referenced are kernel-private and are not in the headers, but
* it is impossible to make a functioning bus driver without them.
*/
struct subsys_private {
struct kset subsys;
struct kset *devices_kset;

struct kset *drivers_kset;
struct klist klist_devices;
struct klist klist_drivers;
struct blocking_notifier_head bus_notifier;
unsigned int drivers_autoprobe:1;
struct bus_type *bus;

struct list_head class_interfaces;
struct kset glue_dirs;
struct mutex class_mutex; /* ignore */
struct class *class;
};

struct bus_type_private {
struct kset subsys;
struct kset *drivers_kset;
struct kset *devices_kset;
struct klist klist_devices;
struct klist klist_drivers;
struct blocking_notifier_head bus_notifier;
unsigned int drivers_autoprobe:1;
struct bus_type *bus;
};

#define CURRENT_FILE_PC VISOR_BUS_PC_visorbus_main_c
#define POLLJIFFIES_TESTWORK 100
#define POLLJIFFIES_NORMALCHANNEL 10
Expand Down

0 comments on commit 5ace402

Please sign in to comment.