Merge branch 'for-3.6/core' of git://git.kernel.dk/linux-block
[cascardo/linux.git] / include / linux / genhd.h
index b88723b..4f440b3 100644 (file)
@@ -16,7 +16,6 @@
 
 #ifdef CONFIG_BLOCK
 
-#define kobj_to_dev(k)         container_of((k), struct device, kobj)
 #define dev_to_disk(device)    container_of((device), struct gendisk, part0.__dev)
 #define dev_to_part(device)    container_of((device), struct hd_struct, __dev)
 #define disk_to_dev(disk)      (&(disk)->part0.__dev)