include/linux/c2port.h: remove wrong and never used macros
[sfrench/cifs-2.6.git] / include / linux / c2port.h
index 2a5cd867c365c3fd4e7f776ceb7e6d42d4e255f9..a2f7d7413f30534f039f902405faaf8be7e4a921 100644 (file)
@@ -60,9 +60,6 @@ struct c2port_ops {
  * Exported functions
  */
 
-#define to_class_dev(obj) container_of((obj), struct class_device, kobj)
-#define to_c2port_device(obj) container_of((obj), struct c2port_device, class)
-
 extern struct c2port_device *c2port_device_register(char *name,
                                        struct c2port_ops *ops, void *devdata);
 extern void c2port_device_unregister(struct c2port_device *dev);