X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=sysfs.c;h=0ea17eb9d00b0020192930bae809eab6ad830c15;hb=755c99faf2d51c133c49ada9700acd4b8cc961c0;hp=8979ec4e23c80fd1812fe6b4f277cc4ad325d923;hpb=eb7ea4630f2df057f4df36eed7a1ec03150f0e76;p=thirdparty%2Fmdadm.git diff --git a/sysfs.c b/sysfs.c index 8979ec4e..0ea17eb9 100644 --- a/sysfs.c +++ b/sysfs.c @@ -398,6 +398,7 @@ int sysfs_add_disk(struct mdinfo *sra, struct mdinfo *sd) return rv; } +#if 0 int sysfs_disk_to_sg(int fd) { /* from an open block device, try find and open its corresponding @@ -461,6 +462,7 @@ int sysfs_disk_to_sg(int fd) return -1; } +#endif int sysfs_disk_to_scsi_id(int fd, __u32 *id) {