]> Pileus Git - ~andy/linux/blobdiff - drivers/scsi/fcoe/fcoe_sysfs.c
scsi: Convert uses of compare_ether_addr to ether_addr_equal
[~andy/linux] / drivers / scsi / fcoe / fcoe_sysfs.c
index 922c9deeb243d734f6a24ef4bae8e53d386162e2..d0d9a2d6120f6952895d7e2620d34d97ac35646c 100644 (file)
@@ -653,7 +653,7 @@ static int fcoe_fcf_device_match(struct fcoe_fcf_device *new,
        if (new->switch_name == old->switch_name &&
            new->fabric_name == old->fabric_name &&
            new->fc_map == old->fc_map &&
-           compare_ether_addr(new->mac, old->mac) == 0)
+           ether_addr_equal(new->mac, old->mac))
                return 1;
        return 0;
 }